Microcontroller Wireless Solutions


vendor_data.h File Reference

Declarations of API functions to access vendor specific data functionality. More...

Go to the source code of this file.

Data Structures

struct  fw_data_frame_tag

Defines

#define MAX_NWK_VENDOR_DATA_SIZE   90
#define APPLICATION_SEND_COORDINATES_TIME   200000

Typedefs

typedef enum vendor_cmd_id_tag vendor_cmd_id_t
typedef struct fw_data_frame_tag fw_data_frame_t
typedef enum vendor_status_tag vendor_status_t

Enumerations

enum  vendor_cmd_id_tag {
  BATTERY_STATUS_REQ,
  BATTERY_STATUS_RESP,
  ALIVE_REQ,
  ALIVE_RESP,
  FW_VERSION_REQ,
  FW_VERSION_RESP,
  RX_ON_REQ,
  RX_ON_RESP,
  FW_DATA_REQ,
  FW_DATA_RESP,
  FW_SWAP_REQ,
  FW_SWAP_RESP
}
enum  vendor_status_tag {
  VD_SUCCESS,
  VD_NOT_SUPPORTED_ATTRIBUTE,
  VD_UNSUPPORTED_SIZE,
  VD_INVALID_CHECKSUM
}

Functions

bool vendor_data_request (uint8_t PairingRef, profile_id_t ProfileId, uint16_t VendorId, uint8_t nsduLength, uint8_t *nsdu, uint8_t TxOptions)
 Vendor data request.
void vendor_data_ind (uint8_t PairingRef, uint16_t VendorId, uint8_t nsduLength, uint8_t *nsdu, uint8_t RxLinkQuality, uint8_t RxFlags)
 Vendor data indication.
void vendor_data_confirm (nwk_enum_t Status, uint8_t PairingRef, profile_id_t ProfileId, uint8_t Handle)
 Vendor data confirm.
void vendor_app_alive_req (void)
 Vendor data alive request.

Detailed Description

Declarations of API functions to access vendor specific data functionality.

Id:
vendor_data.h 32112 2012-05-18 09:46:50Z agasthian.s
Author:
Atmel Corporation: http://www.atmel.com
Support email: avr@atmel.com

Definition in file vendor_data.h.


Define Documentation

#define MAX_NWK_VENDOR_DATA_SIZE   90

The maximum size of a vendor-specific data frame; i.e. maximum MSDU - header and footer overhead: aMxMACSafePayloadSize - 12

Definition at line 35 of file vendor_data.h.


Typedef Documentation

Structure handling firmware data frames

Enum Ids for vendor-specific commands

Enum Ids for vendor status code


Enumeration Type Documentation

Enum Ids for vendor-specific commands

Definition at line 44 of file vendor_data.h.

Enum Ids for vendor status code

Definition at line 80 of file vendor_data.h.