thanks Erel,
Is it what I did but is not working, the code I wrote is:
'enable sensor
manager.WriteData("f000aa30-0451-4000-b000-000000000000","f000aa32-0451-4000-b000-000000000000","1".GetBytes("UTF8"))
' wait using msgbox
Msgbox("enable notify mag","M")
' enable notify locally
manager.SetNotify("f000aa30-0451-4000-b000-000000000000","f000aa31-0451-4000-b000-000000000000",True)
If I've well understood the Texas Instrument sample code after this is it necessary one more enabling level for notify, the remote level as described in the last code row in the sample (in red)