Sigfox Frame Sending; Send A Bit Status; Send Payload In Bytes; Sigfox Transceiver Configuration - ATIM ARM-NANO N8LP Guide D'utilisation

Table des Matières

Publicité

3. SIGFOX FRAME SENDING  

3.1. SEND A BIT STATUS

ARM-Nano implement the following command to send a radio bit status :
Cmd: AT$SB=<status value> to send a radio bit status (0 or 1)
Ex: AT$SB=1 : Send 0x01 payload.

3.2. SEND PAYLOAD IN BYTES

ARM-Nano implement the following command to send a payload radio message :
Cmd: AT$SF=<payload data> to send payload
payload_data = each byte coded in 2 ASCII. Payload length is from 1byte to 12 bytes
Ex :
AT$SF=313245 : Send 0x31 0x32 0x45 payload.
AT$SF=010205 : Send 0x01 0x02 0x05 payload.
Code example :
static const char ascii_hex[16] =
{
0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
0x41, 0x42, 0x43, 0x44, 0x45, 0x46
};
msgUART [0] = 'A';
msgUART [1] = 'T';
msgUART [2] = '$';
msgUART [3] = 'S';
msgUART [4] = 'F';
msgUART [5] = '=';
msgUART[6] = ascii_hex[((msgSFX.hexaSrc1)&0xF0)>>4];
msgUART [7] = ascii_hex[((msgSFX.hexaSrc1)&0x0F)];
msgUART [8] = ascii_hex[((msgSFX.hexaSrc2)&0xF0)>>4];
msgUART [9] = ascii_hex[((msgSFX.hexaSrc2)&0x0F)];
msgUART [10] = ascii_hex[((msgSFX.hexaSrc3)&0xF0)>>4];
msgUART [11] = ascii_hex[((msgSFX.hexaSrc3)&0x0F)];
msgUART [12] = ascii_hex[((msgSFX.hexaSrc4)&0xF0)>>4];
msgUART [13] = ascii_hex[((msgSFX.hexaSrc4)&0x0F)];
PutTerminalBuffer((char*)&msgUART,sizeof msgUART);
 

4. SIGFOX TRANSCEIVER CONFIGURATION

4.1. RADIO PROTOCOL CONFIGURATION

The ARM-Nano has two different radio technologies in the same module: short range (ARM
mode) and long range (Sigfox mode).
The ARM protocol is dedicated to point to point and star communications.

4.2. OUT OF BAND MANAGEMENT CONFIGURATION

Out of band messages are messages which have SIGFOX network well known format. This out of
band message can be deactivated by setting the out of band duty cycle.
Cmd: AT$S300=< KA period in hour> to configure the keep alive out of band period (0 for disa-
ble).
Resp :OK
Default value = 0
ARM-NANO GUIDE D'UTILISATION | ATIM
ARMSE_MU2.0
27

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Arm-nano n8 ld

Table des Matières