Implementation of vendor-specific data handling.
- Id:
- vendor_data.c 26812 2011-05-23 08:27:09Z pawan.jadia
- Author
- Microchip Technology Inc: http://www.microchip.com
-
Support: https://www.microchip.com/support/
#include <stdio.h>
#include "compiler.h"
#include "rf4ce.h"
#include "zrc.h"
#include "vendor_data.h"
#include "pal.h"
#define IMAGE_SIZE ((uint32_t)63*1024) |
#define IMAGE_START_ADDR ((uint32_t)63*1024) |
FLASH_DECLARE |
( |
uint16_t |
VendorIdentifier | ) |
|
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.
The vendor data request allows a device to send a vendor specific data frame.
- Parameters
-
PairingRef | Pairing reference of the recipient of the transmission |
ProfileId | Profile id used for the transmission |
VendorId | Vendor id used for the transmission |
nsduLength | Length of the payload data |
nsdu | Pointer to the payload data |
TxOptions | Transit options |
- Returns
- true if command could be handled; else false
References nlde_data_request(), PROFILE_ID_VENDOR_DATA, and UNUSED.
Referenced by app_task().