MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Enumerations | Functions
mip::commands_rtk Namespace Reference

Classes

struct  ConnectedDeviceType
 
struct  GetActCode
 
struct  GetIccid
 
struct  GetImei
 
struct  GetImsi
 
struct  GetModemFirmwareVersion
 
struct  GetRssi
 
struct  GetStatusFlags
 
struct  LedControl
 
struct  ModemHardReset
 
struct  ProdEraseStorage
 
struct  ServiceStatus
 

Enumerations

enum  {
  DESCRIPTOR_SET = 0x0F, CMD_GET_STATUS_FLAGS = 0x01, CMD_GET_IMEI = 0x02, CMD_GET_IMSI = 0x03,
  CMD_GET_ICCID = 0x04, CMD_GET_RSSI = 0x05, CMD_CONNECTED_DEVICE_TYPE = 0x06, CMD_GET_ACT_CODE = 0x07,
  CMD_GET_MODEM_FIRMWARE_VERSION = 0x08, CMD_SERVICE_STATUS = 0x0A, CMD_PROD_ERASE_STORAGE = 0x20, CMD_CONTROL = 0x21,
  CMD_MODEM_HARD_RESET = 0x22, REPLY_GET_STATUS_FLAGS = 0x81, REPLY_GET_IMEI = 0x82, REPLY_GET_IMSI = 0x83,
  REPLY_GET_ICCID = 0x84, REPLY_CONNECTED_DEVICE_TYPE = 0x86, REPLY_GET_ACT_CODE = 0x87, REPLY_GET_MODEM_FIRMWARE_VERSION = 0x88,
  REPLY_GET_RSSI = 0x85, REPLY_SERVICE_STATUS = 0x8A
}
 
enum  MediaSelector : uint8_t { MediaSelector::MEDIA_EXTERNALFLASH = 0, MediaSelector::MEDIA_SD = 1 }
 
enum  LedAction : uint8_t { LedAction::LED_NONE = 0, LedAction::LED_FLASH = 1, LedAction::LED_PULSATE = 2 }
 

Functions

TypedResult< GetStatusFlagsgetStatusFlags (C::mip_interface &device, GetStatusFlags::StatusFlags *flagsOut)
 
TypedResult< GetImeigetImei (C::mip_interface &device, char *imeiOut)
 
TypedResult< GetImsigetImsi (C::mip_interface &device, char *imsiOut)
 
TypedResult< GetIccidgetIccid (C::mip_interface &device, char *iccidOut)
 
TypedResult< ConnectedDeviceTypewriteConnectedDeviceType (C::mip_interface &device, ConnectedDeviceType::Type devtype)
 
TypedResult< ConnectedDeviceTypereadConnectedDeviceType (C::mip_interface &device, ConnectedDeviceType::Type *devtypeOut)
 
TypedResult< ConnectedDeviceTypesaveConnectedDeviceType (C::mip_interface &device)
 
TypedResult< ConnectedDeviceTypeloadConnectedDeviceType (C::mip_interface &device)
 
TypedResult< ConnectedDeviceTypedefaultConnectedDeviceType (C::mip_interface &device)
 
TypedResult< GetActCodegetActCode (C::mip_interface &device, char *activationcodeOut)
 
TypedResult< GetModemFirmwareVersiongetModemFirmwareVersion (C::mip_interface &device, char *modemfirmwareversionOut)
 
TypedResult< GetRssigetRssi (C::mip_interface &device, bool *validOut, int32_t *rssiOut, int32_t *signalqualityOut)
 
TypedResult< ServiceStatusserviceStatus (C::mip_interface &device, uint32_t reserved1, uint32_t reserved2, ServiceStatus::ServiceFlags *flagsOut, uint32_t *receivedbytesOut, uint32_t *lastbytesOut, uint64_t *lastbytestimeOut)
 
TypedResult< ProdEraseStorageprodEraseStorage (C::mip_interface &device, MediaSelector media)
 
TypedResult< LedControlledControl (C::mip_interface &device, const uint8_t *primarycolor, const uint8_t *altcolor, LedAction act, uint32_t period)
 
TypedResult< ModemHardResetmodemHardReset (C::mip_interface &device)