I’ve developed in C/C++ for a couple decades, almost exclusively firmware for embedded devices. I design pcbs for a living, so I’m very familiar with things at the hardware level.
I’ve been trying to learn Flutter to create cross-platform Apps to interface with some of the boards I create for my own use. These often have a lot of sensor data. I process as much as I can on the embedded device, but some solutions require processing the the raw or semi-raw data on the PC or mobile device (phone, tablet, etc…). Large sets of it, hundreds of data points.
Flutter is very nice and easy for creating the GUI. Things like charts that display data are very easy to create. However, I’m really struggling with the low-level code. Stuff like using getting the serial data (drivers), unpacking 8-bit data packets into 16 bit integers, packet framing, etc… Dart seems to make this very cumbersome compared to C/C++.
Maybe I’m just not finding the information for doing this in Dart very easily. I feel like an archeologist trying to decipher an ancient language, piecing things together from dart.dev, this and other sites like it, and various tutorials on Youtube. There aren’t many low-level code examples, and not much that shows stuff like getting large amounts of data from Bluetooth or USB. Small packets, and controlling stuff with byte commands, but nothing beyond that.
Is the low-level programming any easier in React-Native? Is it easier to find info and examples?