S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
62 of 73
Product Name
Version
Doc No
Date
Page
// Over-the-Air Activation
mac join otaa
>> Ok
>> accepted
// Send unconfirmed uplink on port 15
mac tx ucnf 15 1234
>> Ok
>> tx_ok
//Auto Join Mode
(The next boot-up, it would try to join by OTAA for three times.)
mac set_auto_join on otaa 3
(The next boot-up, it would try to join by ABP (ABP only needs one-time joining)
mac set_auto_join on abp
(Disable Auot Join behavior)
mac set_auto_join off
(Don’t forget to save the last setting above, or it would not take effect after reboot)
mac save
(Reset node and then Auto Join Mode starts)
sip reset
4.1.3
Confirmed Uplink and Downlink
// Send confirmed uplink on port 15
mac tx cnf 15 1234 // Send 0x12, 0x34 to server
>> Ok
>> tx_ok
mac tx cnf 15 1234
>> Ok
>> err // Fail to get confirm from server