Control of Victron device over BLE in custom application

Hi. I have a SmartShunt, 2 x SmartSolar 100/30 and a Smart BatteryProtect installed in my caravan. I have written a custom C application and have successfully gathered all stats available from all devices via the BLE advertising interface provided. So far so good. I am presenting this on a small touch screen in the van showing the current incoming from the two chargers and the total outgoing draw via the shunt as well as a bunch of other useful information. I would like to be able to disconnect the load from this same interface. I can of course turn the load off via the Victron Connect application by switching off the battery protect unit. Having come so far though, I would like a simple button on my screen. I understand that this would involve connecting via BLE to the device using the PIN etc. and I am OK with that in my application logic. I assume then controlling the device would be achieved to writing to a characteristic? Does anyone know if this can be done and how to do it?