Other Parts Discussed in Thread: CC2530, Z-STACK
Hi, collegues.
=====================
Our platform description
=====================
We are using ZNP based on HA1.2
Version 1.2.2a
October 16,2015
CC2531(and CC2530 for some our hw platfroms) is used as Coordinator.
TI Servers (those started with zigbeeHAgw) are using gateway_config.tlg (in attachment).
==============
Issue
==============
We do have now the ZigBee device, which software we can't modify. And it sends Attributes Reporting to the Endpoint with number 1 regardless how we are configuring it.
So it looks like it won't be handled in ZNP because the EP with number 1 is not registered within
static int srvConvertParsedFile(void)
{
...
}
And the gateway server won't be registering it within
static bool gwInit( void )
{
...
}
by
static bool gwRegAllEp( void )
{
...
}
So the
void MT_AfIncomingMsg(afIncomingMSGPacket_t *pMsg) { ... }
Wil never be called in the CC2531(CC2531) SW, since the
static void MT_AfRegister(uint8 *pBuf) will never be called for the Enpoint 1.
So, as the result, we can never receive the messages coming for the Endpoint with number 1 as Destinaton Address.
And our device will fail to report it's attributes.
==========
Questions
==========
1) Am I right, regaring Endpoints register process within the TI ZStack?
2) What does
"
// endpoint IDs 0-2 are reserved by the system (ZDO, NwkMgr, GatewayMgr)
"
stands for explicitly?
0 - ZDO
1 - NwkMgr
2 - GatewayMgr ?
3) Can I just register Endpoint with number 1 as my custom EP, and moving "resevation" for NwkMgr(probably, if I am right in previous question) to some another number?
4) If 3) is ok, how can I do it?
Best Regards,
Maxim Uvarenkov