Skip to content

API Quick Reference

George Delaportas edited this page Oct 5, 2019 · 1 revision

Z0C Protocol - API Quick Reference

The Z0C protocol empowers innovators to create sustainable and effective solutions for the Smart Cities era.

API

This is a quick API handbook version for all the Z0C API calls:

  • UID() - Get the random auto generated UID that will be used for every communication
  • Sense() - Sense for Z0C messages (Sensing time takes usually up to 3 seconds)
  • Broadcast(string Message) - Transmit a message to all devices (Max: 24 characters)
  • Unicast(string Message, string UID) - Transmit a message to a device with the specified ID (Max: 20 characters)
  • Terminate() - Termination of any transmission or sensing

Usage

  1. Reference the “ZeR0-Connect.dll” in your project
  2. Write: var MyZ0C = new Z0C(); (Example in C#)
  3. Use “MyZ0C” API methods

Clone this wiki locally