addEddystoneGenerator abstract method
Method adds an Eddystone generator for simulating Eddystone beacon signals.
namespaceId Namespace ID of the Eddystone beacon.
instanceId Instance ID of the Eddystone beacon.
power Transmission power of the beacon (dBm).
timeout Duration of the generator in milliseconds.
rssiMin Minimum RSSI value for the simulated signal.
rssiMax Maximum RSSI value for the simulated signal.
Returns Unique identifier of the created Eddystone generator.
Example:
// Add Eddystone generator
String eddystoneId = _measurementManager!.addEddystoneGenerator(
"12345678901234567890", // namespaceId
"1234567890123456", // instanceId
-65, // power (dBm)
3000, // timeout (ms)
-85, // rssiMin
-45, // rssiMax
);
print("Added Eddystone generator with ID: $eddystoneId");
Implementation
String addEddystoneGenerator(String namespaceId, String instanceId, int power, int timeout, int rssiMin, int rssiMax);