ThingWorx Edge C SDK > Running the C SDK > Binding Your Entities
  
Binding Your Entities
For an edge device to communicate with ThingWorx platform, its application must bind with the server, effectively establishing the connection with the RemoteThing that represents the edge device on ThingWorx platform. Bind each entity (Thing) so that when the API connects (and reconnects) to the server, it will announce that your entity is connected and available for interaction. The API supports unbinding entities so transient “Things” are supported.
To bind an entity, use its thingName, as shown here:
/* Bind our thing */
twApi_BindThing(thingName);
* 
The ThingWorx Edge .NET SDK uses the function, twApi_BindThingWithoutDefaultServices, internally. Do NOT use this function for C SDK development. It will not register handlers for GetMetadata or NotifyPropertyUpdate. As a result, it will not properly bind things to ThingWorx platform.
Bulk Binding
To bind multiple entities at the same time, use the API that enables bulk binding, twApi_BindThings(twList * entityNames). With this function, you provide a list of remote things when you want to bind multiple remote devices using a single call. To avoid any attempt to send a message larger than the configured maximum message size, the SDK checks the size of the message and generates an error when the maximum message size is reached. Once it detects the error, it sends the current message and starts a new one.