1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_ata8520e
2022-09-16 13:15:46 +02:00
..
app.config.test examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
main.c sys/shell_commands: convert to SHELL_COMMAND() 2022-06-07 09:25:04 +02:00
Makefile examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md tests: add ata8520e test application 2018-01-25 12:01:57 +01:00

About

This is a manual test application for the Microchip ATA8020E Sigfox module.

Usage

This application provides a sigfox shell command to interact with the device. Use the subcommands to perform common Sigfox operations:

  • sigfox info returns the Atmel and Sigfox versions of the module
  • sigfox keys returns the ID and PAC keys used to activate the device in the Sigfox cloud backend at https://backend.sigfox.com/activate.
  • sigfox tx <payload> sends a payload to the Sigfox backend. The payload can be either a frame (e.g a string with 12 characters max) or a bit (e.g 0 or 1)
  • sigfox tx_rx <payload> is the same as the previous but after sending the payload, it waits for incoming message sent from the backend

Examples:

  • Read the internal keys of the module:
    > sigfox keys
    ID: 00000000
    PAC: 0000000000000000
  • Send a bit value to the backend:
    > sigfox tx 1
    Bit sent with success
  • Send a string message to the backend:
    > sigfox tx This\ is\ RIOT
    Message sent with success