iOS Sessionless Announcement

asked 2015-12-09 03:46:43 -0700

nilavya gravatar image

Hi,

I have an thermometer which connects over Bluetooth. This device information is available in the connected application.

This information I am announcing via the AboutService and which is visible properly on the "Dashboard" application on the Android phones.

What I want to achieve - 1. Listen to the device state i.e. Device On/Off or temperature values(this should be in the iOS application). 2. I want to take an action when the temperature reaches 100degrees (the temperature values are fetched in iOS Application) 3. There is a connected air condition which should adjust based on the thermometer reading. For this I believe I have to write some properties/signals in the About announcement. I have used the addSignalWithName and addPropertyWithName to the interfacedescription. When this is announced I do not see any option to perform any action in the "Dashboard" application in Android.

How should I broadcast/announce that I have this property available for this device and when its value is 100 turn off the aircondition. This is purely for the demonstration so I am using the Dashboard android application.

Regards

edit retag flag offensive close merge delete

Comments

you should ask on the core mailing list https://lists.allseenalliance.org/mailman/listinfo/allseen-core and/or the HAE mailing list https://lists.allseenalliance.org/mailman/listinfo/allseen-hae

ry.jones ( 2015-12-09 06:24:28 -0700 )edit