Microchip® Advanced Software Framework

atmel_rf4ce/examples/atmega128rfa1_avr477_remote/vendor_data.c File Reference
#include <stdio.h>
#include "compiler.h"
#include "rf4ce.h"
#include "zrc.h"
#include "vendor_data.h"
#include "pal.h"
#include "pal_flash.h"
#include "tfa.h"
#include "qdebug.h"
#include "qdebug_transport.h"

Macros

#define IMAGE_SIZE   ((uint32_t)63*1024)
 
#define IMAGE_START_ADDR   ((uint32_t)63*1024)
 

Functions

 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)
 Function to send the vendor specific data request. More...
 

#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 
)

Function to send the vendor specific data request.

Vendor data request.

Parameters
PairingRefThe pairing reference of the device.
ProfileIdProfile-Id (ZRC or ZID)
VendorIdVendor-id
nsduLengthlength of the data
nsduThe data pointer.
TxOptionsTo fill in the control field

References nlde_data_request(), PROFILE_ID_VENDOR_DATA, and UNUSED.