Back to contents pageHow to send data to tags

How to send data to tags

Summary

This article shows how to send data to tags using the Ubisense .NET API. Data values of 13, 14 and 15 cause slim tags to beep in various ways.



Prerequisites

None. You can use this article on its own.



Example material

Save this link to get a zip file of the example material


Guide

Before you start, remember to:

Use the Ubisense.UData.Data schema to send data to tags with the notify() method. The following example defines the method send_data_to_tag where the Ubisense.ULocationIntegration.Tag is passed in along with the data to send to the tag. Data values of 13, 14 and 15 cause slim tags to beep in various ways. Note that the sequence number of the data is output from the notify() method, but it is unused in this example:


    public static void send_data_to_tag(
        Ubisense.ULocationIntegration.Tag _tag, uint _data)
    {
        byte seqno;
        bool res = data_schema.notify(_tag, _data, out seqno);
    }



Back to top