I try to use the CC1310F Launchpad by TI to communicate with the Sigfox infrastructure.
On Windows, run the SmartRF program. You should see two connected devices (one CC1310 LaunchPad has two interfaces).
Select the XDS110 Class Application/User UART. At first, the device is “Unknown”. You have to select the target device. I have a CC1310F128.
Right clic and “connect”. By default, the bootloader mode was not enabled so I got the following message:
To enable the bootloader mode, hold the “SELECT” button (BTN-1, on the left) and press the “RESET” button (on the top). Then try to connect again and you should see the following:
You can now get board information such as the MAC address (we will need it soon).
The only way I found was to send an email to email@example.com and ask for it. They replied with 3 hours.
Send an email to firstname.lastname@example.org with the MAC address, your name and the company you work for. They should reply with one sigfox_data.h per device.
Description Resource Path Location Type: identifier UARTCC26XX_HWAttrsV1 is undefined CC1310DK_7XD.c /TI_SIGFOX_CC13xx_v0.13 line 133 C/C++ ProblemI then installed a previous version (2.18) following this post. It did not work. I restarted CSS. It worked.
UARTCC26XX_HWAttrsV2for it to work with the TI-RTOS version 2.21.
Connect to the terminal (I use minicom) with the following parameters:
I got a nice:
This is because I have to replace the file
sigfox_data.h by the one that TI gave me.
Once the board is flashed, you can connect throught the terminal (minicom). No message should be displayed. To see what you are typing, enable “local echo”.
Activate you device using your device ID and PAC number on: https://backend.sigfox.com/ If it does not work, send an email to Sigfox again. I got a reply within a day. My device was activated after 3 days.
I had to change the MODE on the sigfox_demo.h file because I’m in Europe:
On the sigfox backend, you can create callbacks to trigger some remote function or forward data. Here is what I’ve done:
I am sending the data in Json to a node-red instance on IBM Bluemix.