MENU
M0:{New Animal,M1};{Attentions,M2};{Ins.
Bolus,M3};{View/Edit DB,M4};
{ReadAndSend,M5};
{Settings,M6}
M1:NEW_REC
M2:ATT
M3:INSBOLUS
M4:VIEW
M5:SENDBYBT
M6:
{Bluetooth,M7}
;{Date/Time,M8};{Farm & Vet,M9}
M7:BLUETOOTH
M8:DATE
M9:GLOBAL
END
The example above is a fragment from an example Application Project “EXAMPLE
APP 02BT.txt”.
The most interesting for use are
BLUETOOTH
Macro and
SENDBYBT
, which are
presented in example,
SENDBYBT
simply send just read transponder number,
BLUETOOTH
Macro enables to activate Bluetooth, set a name for HHR in
Bluetooth network and BT Pin. Those Macros has been placed in MENU section,
the menu elements important for us has been made bold.
Bluetooth Frame Structure
Bluetooth frame consist 3 values: transponder number, current date, current time;
●
First character - “|”
●
Transponder number which take 23 characters.
●
Table separator declared in header section
●
Current Date
●
Table separator declared in header section
●
Current Time
●
End line characters, at C/C++ language it is “\r\n” (it take two characters
0x0D and 0x0A)
Frame Example:
|12345678901234567890123;2007-02-06;23:59:59\r\n
D01B2.4 HHR 3000 PRO Manual
63/75