Skyward boardcore
Loading...
Searching...
No Matches
ATCommands.h File Reference
#include "APIFrames.h"
#include "Xbee.h"
Include dependency graph for ATCommands.h:

Go to the source code of this file.

Namespaces

namespace  Boardcore
 This file includes all the types the logdecoder script will decode.
 
namespace  Boardcore::Xbee
 

Functions

bool Boardcore::Xbee::setChannelMask (Xbee &xbee, uint32_t mask, unsigned int timeout=1000)
 Enables or disable the specified channels. Channel 9 and 24 are always disabled due to regulatory limitations. See datasheet for the list of channel frequencies.
 
bool Boardcore::Xbee::setChannelMask (Xbee &xbee, bool channels[30], unsigned int timeout=1000)
 Enables or disable the specified channels. Channel 9 and 24 are always disabled due to regulatory limitations. See datasheet for the list of channel frequencies.
 
bool Boardcore::Xbee::enableAllChannels (Xbee &xbee, unsigned int timeout=1000)
 Enable communication on all available channels. Equivalent to calling setChannelMask(xbee, 0x3EFFFDFF).
 
bool Boardcore::Xbee::disableFrequencyHopping (Xbee &xbee, unsigned int timeout=1000)
 Disables frequency hopping by allowing communication only on channel #29. Equivalent to calling setChannelMask(xbee, 0x20000000).
 
bool Boardcore::Xbee::setDataRate (Xbee &xbee, bool dataRate80kbps, unsigned int timeout=1000)
 Configures the desired xbee data rate.
 
bool Boardcore::Xbee::writeToMemory (Xbee &xbee, unsigned int timeout=1000)
 Writes parameter values to non-volatile memory so that parameter modifications persist through subsequent resets.
 
bool Boardcore::Xbee::energyDetect (Xbee &xbee, int *energyDetectData, uint8_t duration, unsigned int timeout=1000)
 Performs an energy detect scan on all channels.