I tried to create just a basic one to do a printf when the handler is tripped, based on what I saw in gtt_events.h:
Code: Select all
void handle_MotorSlider(gtt_device *gtt, uint16_t ObjectID, uint16_t PropertyID){
printf("Slider Handler %u %u\n", ObjectID, PropertyID);
}
Code: Select all
gtt25_set_baseobject_on_property_changehandler(gtt, handle_MotorSlider);
Any suggestions greatly appreciated! Thanks.