Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed XBee mbed-rtos
functions.h
- Committer:
- yamaguch
- Date:
- 2012-09-20
- Revision:
- 6:d456c203adb6
- Parent:
- 5:d01cf03058f6
- Child:
- 7:39deffbdcae4
File content as of revision 6:d456c203adb6:
#include "mbed.h"
struct Function {
char *name;
void (*func)();
};
void xbee1();
void xbee2();
void xbee3();
void xbee4();
void xbee5();
void xbee6();
void xbee7();
void xbee8();
void xbee9();
void xbee10();
void xbee11();
void xbeeio1();
void xbeeio2();
void xbeeio3();
void xbeeio4();
void xbeeio5();
void xbeeio6();
void xbeeio7();
void at_command();
void network_reset();
Function functions[] = {
"function description", 0,
"XBee01 - Firmware Version", xbee1,
"XBee02 - AT Command Executions", xbee2,
"XBee03 - Changing PAN ID", xbee3,
"XBee04 - Receiver (receive & dump)", xbee4,
"XBee05 - Router (send hello 10 times)", xbee5,
"XBee06 - Router (send hello and check if it succeeds)", xbee6,
"XBee07 - Coordinator (receive and scan sender's addresses)", xbee7,
"XBee08 - Coordinator (receive and retrieve RSSI values)", xbee8,
"XBee09 - Router (send greetings to destination and wait for reply)", xbee9,
"XBee10 - Router (receive greetings and reply)", xbee10,
"XBee11 - Router (broadcast, send and receive to/from others)", xbee11,
"XBeeIO01 - IO (blink an LED connected to DIO12)", xbeeio1,
"XBeeIO02 - Remote IO (blink an LED connected to DIO12)", xbeeio2,
"XBeeIO03 - IO Sampling (execute IS command to read AD1 & DIO4)", xbeeio3,
"XBeeIO04 - Remote IO Sampling (execute IS command to read AD1 & DIO4", xbeeio4,
"XBeeIO05 - Remote IO Sampling (use IOSample object to get AD1)", xbeeio5,
"XBeeIO06 - IO Sampling (send IO sampling every second)", xbeeio6,
"XBeeIO07 - Temperature Sampling Receiver", xbeeio7,
"AT Command Executor", at_command,
"Network Reset (issue NR0 command)", network_reset,
0, 0
};