Z-Way Manual


Zigbee EZSP Functions Reference

Function Class Version

Syntax: Version(desiredVersion, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_version(ZBee zbee, ZWBYTE desired_version, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter desiredVersion: Desired EZSP Version
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class GetValue

Syntax: GetValue(valueId, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_get_value(ZBee zbee, ZWBYTE value_id, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter valueId: Config ID
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class GetConfigurationValue

Syntax: GetConfigurationValue(id, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_get_configuration_value(ZBee zbee, ZWBYTE id, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Get NCP configuration
Parameter id: Config ID
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class SetRadioChannel

Syntax: SetRadioChannel(channelId, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_radio_channel(ZBee zbee, ZWBYTE channel_id, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Set Radio Channel
Parameter channelId: Channel id from 11 to 26
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class SetRadioPower

Syntax: SetRadioPower(power, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_radio_power(ZBee zbee, ZWBYTE power, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Set Radio Power
Parameter power: Power level in dBm
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class SetConfigurationValue

Syntax: SetConfigurationValue(configId, value, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_configuration_value(ZBee zbee, ZWBYTE config_id, ZWWORD value, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Set NCP configuration
Parameter configId: Config ID
Parameter value: Config value
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class GetMfgToken

Syntax: GetMfgToken(tokenId, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_get_mfg_token(ZBee zbee, ZWBYTE token_id, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Get manufacturer token
Parameter tokenId: Token ID to request
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class NetworkState

Syntax: NetworkState(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_network_state(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class NetworkInit

Syntax: NetworkInit(options = 0, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_network_init(ZBee zbee, ZWWORD options, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter options: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class NetworkInitNoOption

Syntax: NetworkInitNoOption(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_network_init_no_option(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class FormNetwork

Syntax: FormNetwork(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_form_network(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Form new network
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class LeaveNetwork

Syntax: LeaveNetwork(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_leave_network(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Leafe from existing network
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class SetInitialSecurityState

Syntax: SetInitialSecurityState(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_initial_security_state(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class GetNetworkParameters

Syntax: GetNetworkParameters(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_get_network_parameters(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class GetNodeId

Syntax: GetNodeId(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_get_node_id(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Get my node ID
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class GetEui64

Syntax: GetEui64(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_get_eui64(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Get my MAC (EUI64)
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class GetKey

Syntax: GetKey(keyType, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_get_key(ZBee zbee, ZWBYTE key_type, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter keyType: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class GetCurrentSecurityState

Syntax: GetCurrentSecurityState(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_get_current_security_state(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class SetPolicy

Syntax: SetPolicy(policyId, decisionId, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_policy(ZBee zbee, ZWBYTE policy_id, ZWWORD decision_id, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter policyId: TODO
Parameter decisionId: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class SetExtendedTimeout

Syntax: SetExtendedTimeout(remoteEui64, extendedTimeout, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_extended_timeout(ZBee zbee, const ZBEUI64 remoteEui64, ZWBOOL extendedTimeout, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter remoteEui64: EUI64 of the node
Parameter extendedTimeout: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class SendUnicast

Syntax: SendUnicast(data, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_send_unicast(ZBee zbee, size_t length, const ZWBYTE * data, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Send unicast packet
Parameter data: Data
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class PermitJoining

Syntax: PermitJoining(duration, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_permit_joining(ZBee zbee, ZWBYTE duration, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Open network for new nodes
Parameter duration: Close the network after this period in seconds
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class StartScan

Syntax: StartScan(scanType, channelMask, duration, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_start_scan(ZBee zbee, ZWBYTE scanType, ZWDWORD channelMask, ZWBYTE duration, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter scanType: TODO
Parameter channelMask: TODO
Parameter duration: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class ReadCounters

Syntax: ReadCounters(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_read_counters(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class SendBroadcast

Syntax: SendBroadcast(data, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_send_broadcast(ZBee zbee, size_t length, const ZWBYTE * data, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Send broadcast packet
Parameter data: Data
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class ClearKeyTable

Syntax: ClearKeyTable(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_clear_key_table(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class AddTransientLinkKey

Syntax: AddTransientLinkKey(ieee, key, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_add_transient_link_key(ZBee zbee, const ZBEUI64 ieee, const ZBKey16 key, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter ieee: TODO
Parameter key: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class ImportTransientKey

Syntax: ImportTransientKey(ieee, key, type, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_import_transient_key(ZBee zbee, const ZBEUI64 ieee, const ZBKey16 key, ZWBYTE type, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: TODO
Parameter ieee: TODO
Parameter key: TODO
Parameter type: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed
Report: TODO

Function Class SetBinding

Syntax: SetBinding(index, type, local, clusterId, remoteEndpointId, destinationIeee, networkIndex, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_binding(ZBee zbee, ZWBYTE index, ZWBYTE type, ZWBYTE local, ZBClusterId cluster_id, ZWBYTE remote_endpoint_id, const ZBEUI64 destination_ieee, ZWBYTE network_index, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Set Binding
Parameter index: The index of a binding table entry
Parameter type: The type of binding
Parameter local: The endpoint on the local node
Parameter clusterId: A cluster ID that matches one from the local endpoint's simple descriptor
Parameter remoteEndpointId: The endpoint on the remote node (specified by identifier)
Parameter destinationIeee: A 64-bit identifier. This is either the destination EUI64 (for unicasts) or the 64-bit group address (for multicasts)
Parameter networkIndex: The index of the network the binding belongs to
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class ZllSetRadioIdleMode

Syntax: ZllSetRadioIdleMode(radioPowerMode, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_zll_set_radio_idle_mode(ZBee zbee, ZWBYTE radio_power_mode, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: ZLL Set Radio Idle Mode
Parameter radioPowerMode: The power mode to be set. 0x00 - The radio receiver is switched on. 0x01 - The radio receiver is switched off
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class SetValue

Syntax: SetValue(valueId, valueData, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_value(ZBee zbee, ZWBYTE value_id, ZWBYTE value_length, const ZWBYTE * value_data, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Set Value
Parameter valueId: Value Id
Parameter valueData: Value Data
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class SetConcentrator

Syntax: SetConcentrator(on, concentratorType, minTime, maxTime, routeErrorThreshold, deliveryFailureThreshold, maxHops, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_concentrator(ZBee zbee, ZWBOOL on, ZWWORD concentrator_type, ZWWORD min_time, ZWWORD max_time, ZWBYTE route_error_threshold, ZWBYTE delivery_failure_threshold, ZWBYTE max_hops, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Set Concentrator
Parameter on: Is Enable
Parameter concentratorType: Concentrator Type:. 0xFFF8 - A concentrator with insufficient memory to store source routes for the entire network. Route records are sent to the concentrator prior to every inbound APS unicast. 0xFFF9 - A concentrator with sufficient memory to store source routes for the entire network. Remote nodes stop sending route records once the concentrator has successfully received one
Parameter minTime: Min Time between MTORR
Parameter maxTime: Max Time between MTORR
Parameter routeErrorThreshold: The number of route errors that will trigger a re-broadcast of the MTORR
Parameter deliveryFailureThreshold: The number of APS delivery failures that will trigger a re-broadcast of the MTORR
Parameter maxHops: The maximum number of hops that the MTORR broadcast will be allowed to have. A value of 0 will be converted to the EMBER_MAX_HOPS value set by the stack
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class ClearTransientLinkKeys

Syntax: ClearTransientLinkKeys(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_clear_transient_link_keys(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Clear Transient Link Key
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class SetSourceRouteDiscoveryMode

Syntax: SetSourceRouteDiscoveryMode(mode, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_source_route_discovery_mode(ZBee zbee, ZWBYTE mode, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Set Source Route Discovery Mode
Parameter mode: Source route discovery mode:. 0 - off. 1 - on. 2 - reschedule
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class FindKeyTableEntry

Syntax: FindKeyTableEntry(address, linkKey, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_find_key_table_entry(ZBee zbee, const ZBEUI64 address, ZWBOOL link_key, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Find Key Table Entry
Parameter address: TODO
Parameter linkKey: TODO
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class GetMulticastTableEntry

Syntax: GetMulticastTableEntry(index, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_get_multicast_table_entry(ZBee zbee, ZWBYTE index, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Get Multicast Table Entry
Parameter index: Entry index
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class SetMulticastTableEntry

Syntax: SetMulticastTableEntry(index, multicastId, endpoint, networkId, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_set_multicast_table_entry(ZBee zbee, ZWBYTE index, ZWWORD multicast_id, ZWBYTE endpoint, ZWBYTE network_id, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Set Multicast Table Entry
Parameter index: Entry index
Parameter multicastId: Multicast Address
Parameter endpoint: Endpoint
Parameter networkId: Multicast Address
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class CustomFrame

Syntax: CustomFrame(payload, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_custom_frame(ZBee zbee, ZWBYTE size, const ZWBYTE * payload, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Custom Frame
Parameter payload: Payload
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class CustomFrameLoadFirmware

Syntax: CustomFrameLoadFirmware(data, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_custom_frame_load_firmware(ZBee zbee, size_t length, const ZWBYTE * data, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Custom Frame Load Firmware
Parameter data: Firmware
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class CustomFrameReset

Syntax: CustomFrameReset(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_custom_frame_reset(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Custom Frame Reset
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class CustomFrameReadVersion

Syntax: CustomFrameReadVersion(successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_custom_frame_read_version(ZBee zbee, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Custom Frame Read Version
Parameter successCallback: Custom function to be called on function success. NULL if callback is not needed
Parameter failureCallback: Custom function to be called on function failure. NULL if callback is not needed

Function Class IncomingMessageHandlerInject

Syntax: IncomingMessageHandlerInject(seq, type = 0, profileId = 0x0104, clusterId, srcEndpointId, dstEndpointId, options = 0x0000, groupId = 0x0000, apsSeq = 0x00, lqi = 0, rssi = 0, sender, bindingIndex = 0, addrIndex = 0, data, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_incoming_message_handler_inject(ZBee zbee, ZWBYTE seq, ZWBYTE type, ZWWORD profile_id, ZWWORD cluster_id, ZWBYTE src_endpoint_id, ZWBYTE dst_endpoint_id, ZWWORD options, ZWWORD group_id, ZWBYTE aps_seq, ZWBYTE lqi, ZWBYTE rssi, ZWWORD sender, ZWBYTE binding_index, ZWBYTE addr_index, ZWBYTE size, const ZWBYTE * data, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Incoming Message Handler Inject
Parameter seq: Sequence number
Parameter type: Message Type:. INCOMING_UNICAST - 0x00;. INCOMING_UNICAST_REPLY - 0x01;. INCOMING_MULTICAST - 0x02;. INCOMING_MULTICAST_LOOPBACK - 0x03;. INCOMING_BROADCAST - 0x04;. INCOMING_BROADCAST_LOOPBACK - 0x05;. INCOMING_MANY_TO_ONE_ROUTE_REQUEST - 0x06
Parameter profileId: Profile Id
Parameter clusterId: Cluster Id
Parameter srcEndpointId: Source Endpoint Id
Parameter dstEndpointId: Destination Endpoint Id
Parameter options: Options
Parameter groupId: Group Id
Parameter apsSeq: APS Sequence Number
Parameter lqi: LQI
Parameter rssi: RSSI
Parameter sender: Sender
Parameter bindingIndex: Binding Table Index
Parameter addrIndex: Address Index
Parameter data: Input Data
Parameter successCallback: Unused. NULL if callback is not needed
Parameter failureCallback: Unused. NULL if callback is not needed

Function Class IncomingMessageHandlerInjectRaw

Syntax: IncomingMessageHandlerInjectRaw(data, successCallback = NULL, failureCallback = NULL)
C Syntax: ZWError zbee_ef_incoming_message_handler_inject_raw(ZBee zbee, ZWBYTE size, const ZWBYTE * data, ZBJobCustomCallback successCallback, ZBJobCustomCallback failureCallback, void* callbackArg)
Description: Incoming Message Handler Inject Raw
Parameter data: Data
Parameter successCallback: Unused. NULL if callback is not needed
Parameter failureCallback: Unused. NULL if callback is not needed