background image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User Manual

 

 

 

 

 

 

TREK-120ANR

 

 

 

 

 

 

NFC reader

 

Summary of Contents for TREK-120ANR

Page 1: ...User Manual TREK 120ANR NFC reader...

Page 2: ...ability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous testing most of our customers never need to use our repair s...

Page 3: ...urning the equip ment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation b...

Page 4: ...d the latest information about the product 2 Contact your distributor sales representative or Advantech s customer service center for technical support if you need additional assistance Please have th...

Page 5: ...me or equivalent type recommended by the man ufacturer Discard used batteries according to the manufacturer s instructions Note Notes provide optional additional information Document Feedback To assis...

Page 6: ...ipment has obvious signs of breakage 16 CAUTION The computer is provided with a battery powered real time clock cir cuit There is a danger of explosion if battery is incorrectly replaced Replace only...

Page 7: ...on t touch any components on the mainboard or other cards while the system is on Disconnect power before making any configuration changes The sudden rush of power as you connect a jumper or install a...

Page 8: ...Chapter 1 1 General Information This chapter gives background information on the TREK 120 Cold chain Sensor Sections include Introduction General Specifications Dimensions...

Page 9: ...ress and support a wide operating temperature range 20 65 C 4 149 F Moreover the sensor design is compact lightweight 108 g and cableless and can be easily installed using magnets or an adhesive backi...

Page 10: ...Chapter 1 General Information 1 3 Dimensions NFC reader Figure 1 1 TREK 120 dimensions...

Page 11: ...Chapter 2 2 System Setup This chapter details system setup on TREK 120 Sections include A Quick Tour of TREK 120 Installation Procedures...

Page 12: ...SDK from the website c Unzip SDK file Password is the same as the file name and Launch coldchain_demo exe d Go to Setting and then select COM port which NFC reader connected then press Open 2 2 2 Setu...

Page 13: ...ng will be written into TREK 120 Press Start logger then the TREK 120 will start record temperature humidity Press Stop logger then the TREK 120 will be stopped record c Go to Check to check the confi...

Page 14: ...data will be shown on the screen You also can export to CSV file to save in other disk...

Page 15: ...Chapter 3 6 Cold Chain API This chapter explains the software API for TREK 120...

Page 16: ...guage C only SDK Package Structure You can get the following contents by extracting the SDK package Directory Description bin DLL Demo Program doc Document and Release Note include RFID Driver sample...

Page 17: ...is on 3 2 Application Programming Interface API Enumeration AlarmMode Enum 0 CONTINUOUS Alarm trigger mode to continuous 1 CUMULATIVE Alarm trigger mode to cumulative ButtonActivate Enum 0 NOT_SUPPOR...

Page 18: ...ateway Version driver_api_version Point to Jogtek RFID DLL API Version Setting_Logger Structure Syntax Windows Description Configure logger sensor internal information Members record_interval_minutes...

Page 19: ...larm_frequency Set logger sensor humidity alarm frequency humidity_alarm_mode humidity according to alarm frequency select type Please refer to AlarmMode Enum falling_alarm_bound Logger sensor falling...

Page 20: ...or the first record time stamp record_index Logger sensor record count record_interval_minutes Logger sensor record interval minutes temperature_alarm_upper_bound Logger sensor temperature alarm upper...

Page 21: ...ing_record_index Logger sensor falling count falling_alarm_bound Logger sensor falling alarm bound over_alert The LoRA sensor overflow flag Please refer to Overflow_Flag Structure lora_channel Get LoR...

Page 22: ...alarm_upper_bound public int temperature_alarm_lower_bound public WarningType temperature_Warning public double humidity public int humidity_alarm_upper_bound public int humidity_alarm_lower_bound pub...

Page 23: ...ount record_datetime One array Record each data timestamp temperature One array Record each data temperature temperature_alarm_upper_bound logger sensor temperature alarm upper temperature_alarm_lower...

Page 24: ...umidity_Warning Judgment humidity alarm status Please refer to WarningType Enum internal_battery_voltage Internal battery voltage external_battery_voltage External battery voltage falling_record_index...

Page 25: ...public double humidity public double internal_battery_voltage public double external_battery_voltage public int falling_record_index public string falling_datetime public int rssi public int snr publi...

Page 26: ...p temperature Receive data temperature humidity Receive data humidity internal_battery_voltage Internal battery voltage external_battery_voltage External battery voltage falling_record_index LoRa sens...

Page 27: ...ratio crc The cyclic redundancy check external_battery_life Shows the percentage of external voltage firmware_version LoRa sensor version over_alert The LoRA sensor overflow flag Please refer to Over...

Page 28: ...ow public bool falling_record_index_overflow public bool lora_transmission_stop public bool internal_battery_low public bool external_battery_low Description Save the LoRA sensor overflow flag Members...

Page 29: ...pens has reached 30 lora_transmission_stop The external battery voltage is lower than the voltage configuration value before wireless transmission internal_battery_low The internal battery voltage has...

Page 30: ...auto_startup public int date public int hour public int minute public int second Description Save the LoRA sensor overflow flag Members auto_startup Enable Disable Appointment Time Function date Sett...

Page 31: ...second Setting Second time...

Page 32: ...nt coldchain_init string COM_Port Description Open the NFC Reader through the serial port Parameters COM_Port in Specifies which Serial Port Path to connect firmware For example COM1 Returns ADVCC_ERR...

Page 33: ...coldchain_deinit Syntax Windows public int coldchain_deinit Description Close NFC Reader the serial port Parameters None Returns ADVCC_ERR_SUCCESS On success Otherwise see the error code list...

Page 34: ...ublic int coldchain_get_version ref Version FirmwareVer Description Get the version of firmware Parameters FirmwareVer out Please refer to Version Structure Returns MRM_ERR_NO_ERROR On success Otherwi...

Page 35: ...ger Description Configure logger sensor internal information Parameters Logger in Please refer to Setting_Logger Structure Returns MRM_ERR_NO_ERROR On success Otherwise see the error code list Remark...

Page 36: ...n_start_logger Syntax Windows public int coldchain_start_logger Description Start logger sensor to record data Parameters None Returns MRM_ERR_NO_ERROR On success Otherwise see the error code list Rem...

Page 37: ...coldchain_stop_logger Syntax Windows public int coldchain_stop_logger Description Stop logger sensor Parameters None Returns MRM_ERR_NO_ERROR On success Otherwise see the error code list Remark None...

Page 38: ...n_get_sensor_info ref Sensor_Info information Description Get logger sensor internal information Parameters information out Please refer to Sensor_Internal_Information Structure Returns MRM_ERR_NO_ERR...

Page 39: ...t_sensor_data ref Sensor_data OD_data Description Get logger sensor record temperature and humidity information Parameters OD_data out Please refer to Sensor_Internal_data Structure Returns MRM_ERR_NO...

Page 40: ...ef double temperature_avg Description Get temperature average Parameters OD_data in Pointer to the node object handle that is the returned by coldchain_get_sensor_data temperature_avg out Calculation...

Page 41: ...a ref double humidity_avg Description Get humidity average Parameters OD_data in Pointer to the node object handle that is the returned by coldchain_get_sensor_data humidity_avg out Calculation total...

Page 42: ...tring FilePath Description Export temperature and humidity data to csv Parameters OD_data in Pointer to the node object handle that is the returned by coldchain_get_sensor_data FilePath in Save file l...

Page 43: ...D_data string FilePath Description Export falling data to csv Parameters OD_data in Pointer to the node object handle that is the returned by coldchain_get_sensor_data FilePath in Save file location R...

Page 44: ...FilePath Description Export temperature and humidity alarm data to csv Parameters OD_data in Pointer to the node object handle that is the returned by coldchain_get_sensor_data FilePath in Save file l...

Page 45: ...serial port Parameters COM_Port in Specifies which Serial Port Path to connect firmware For example COM1 lora_channel in Set LoRa frequency channel Value 1 to 5 lora_data_rate in Set Data Rate Value 0...

Page 46: ...hain_gateway_deinit Syntax Windows public int coldchain_gateway_deinit Description Close LoRa Gateway the serial port Parameters None Returns ADVCC_ERR_SUCCESS On success Otherwise see the error code...

Page 47: ...c int coldchain_gateway_get_version ref Version FirmwareVer Description Get the Gateway version of firmware Parameters FirmwareVer out Please refer to Version Structure Returns MRM_ERR_NO_ERROR On suc...

Page 48: ...y_start_receive_lora_data ReceiveLoRaCallBack cb Description When the event is triggered the ReceiveLoRaCallBack callback of registered handler instance will be triggered Parameters cb in Pointer to a...

Page 49: ...ta Syntax Windows public int coldchain_gateway_stop_receive_lora_data Description Clear the callback registration of the ReceiveLoRaCallBack Parameters None Returns MRM_ERR_NO_ERROR On success Otherwi...

Page 50: ...ic int coldchain_gateway_added_filter string uid Description Designate LoRa uid add whitelist for filter Only added uid will receive Parameters uid in Receive LoRa uid Returns MRM_ERR_NO_ERROR On succ...

Page 51: ...yntax Windows public int coldchain_gateway_remove_filter string uid Description Designate LoRa uid remove whitelist Parameters uid in Receive LoRa uid Returns MRM_ERR_NO_ERROR On success Otherwise see...

Page 52: ...in_gateway_reset_filter Syntax Windows public int coldchain_gateway_reset_filter Description Reset whitelist Parameters None Returns MRM_ERR_NO_ERROR On success Otherwise see the error code list Remar...

Page 53: ...Windows public int coldchain_gateway_get_filter ref string uid Description Get all the uid values in the whitelist Parameters uid out Get setting uid list Returns MRM_ERR_NO_ERROR On success Otherwise...

Page 54: ...CY_ERROR 20000005 ADVCC_ERR_SET_HUMIDITY_UPPER_ERROR 20000006 ADVCC_ERR_SET_HUMIDITY_LOWER_ERROR 20000007 ADVCC_ERR_SET_HUMIDITY_FREQUENCY_ERROR 20000008 ADVCC_ERR_SET_FALLING_BOUND_ERROR 20000009 ADV...

Page 55: ...40000003 ADVCC_ERR_GATEWAY_RECEIVE_NOT_ACTIVE 40000004 ADVCC_ERR_GATEWAY_FILTER_ALREADY_SETTING 40000005 ADVCC_ERR_GATEWAY_FILTER_NOT_SETTING...

Page 56: ...tions are subject to change without notice No part of this publication may be reproduced in any form or by any means electronic photocopying recording or otherwise without prior written permis sion of...

Reviews: