Node addressing in CyFi protocol | Cypress Semiconductors
Support & Community
Node addressing in CyFi protocol
How is node addressing done in CyFi Protocol stack?
Every node in a Star Network has an 8-bit device ID that ranges from 1 to 250 (Device ID 0 is reserved). The Device ID uniquely identifies a particular node and is passed to the application as part of the packet structure. When initially connecting, a node may either request that a Device ID be assigned by the hub (on-the-fly assignment), or the node may specify its own device ID (preassigned device ID). A single network can either support on-the-fly device ID assignment or preassigned device ID, but not a mix of both.The device ID is passed up to the application (either in the PSoC or software application) as part of the payload.