I want to send a custom data structure that has been converted to a uint8_t array, but SimpleBLE::Peripheral::write_request or SimpleBLE::PeripheralBase::write_request only accept a strange ByteArray type.
In simpleble/Types.h:
using ByteArray = std::string;
So is there any way to write uint8_t * or winrt::Windows::Storage::Streams::IBuffer?
I want to send a custom data structure that has been converted to a uint8_t array, but
SimpleBLE::Peripheral::write_request
orSimpleBLE::PeripheralBase::write_request
only accept a strangeByteArray
type. In simpleble/Types.h:So is there any way to write
uint8_t *
orwinrt::Windows::Storage::Streams::IBuffer
?