That's still not a specific product but a chipset that aims to be used in many future IoT devices, according to
Quote:
If you scroll down a bit you see under Software & Tools that it provides/includes a Serial Port Service (Emulator), which means it emulates being a COM Port. So I guess you could reuse the code you already have.
The data sheet of that also sounds like that...
[URL unfurl="true" said:
https://www.renesas.com/us/en/document/dst/da14531-module-datasheet?r=1601921[/URL]]The module comes with a configurable DSPS (serial port service) and next generation Codeless
software to design Bluetooth® applications without Bluetooth® knowledge or advanced programming skills.
In short, it's programmable just like there was a physical COM port. My opinion of that is that they think along wrong lines if they mean that to be simpler, I mean legacy knowledge is becoming extinct and serial port programming therefore is a backwards skill just as hard to find as advanced programming skills. But that's just opinion, of course.
True to say there are a lot COM related libraries out that therefore can be used with that. However that doesn't tell which AT commands are used with that, for example.
To be very clear, I also won't expect Renesas to specify that, they want their module to be universally usable for any kind of IoT devices, but there will also be a different commandsets or protocols these devices can use within how serial port communication works with basic features like baudrate and parity bits, etc.
For now it means you could reuse some serial port code you already have, but what exactly to write or send and read or receive will be specific to the concrete end user product that will have that chipset besides anything else part of that IoT hardware.
Chriss
PS: Just one more note about this Serial Port Service (Emulator). Before you get to this and can address this module like it is a serial port, you still have to first go through the stages of finding the device and connecting to it, and without more specific documentation about available serial port addresses, baudrates and all the other things related to serial port communication, you still have no grip on this emulated serial port.
My comment on this: I'll not predict them to fail, they might just rule the market of communication modules used in BLE IoT devices by their price, but there are reasons, features serial port communication lacked, that lead to the development of USB replacing serial ports. I had the ridiculous case of a device defining a command to send to it, which in response gave you the baudrat and parity etc on which the device was set. But for the device to understand this command and respond to it with this information you need to estsablish the serial port communication, you had to know the baudrate parity, etc to set up, otherwise this command was not received or not recognized and you got no response. That has forever determined what I think about serial port communication.
If you ask me how an interface with any device should be designed: That will depend on the device, if it is a video camera (like a dashcam, for example) with this bluetooth module I'd expect it to offer a driver with which I can get a videostream of a framebuffer, define video resolution and framerate, maybe it would even show up as a drive letter and I can simply get mp4 files from that. But I'd not want a COM port to program the details of getting data from the device. In some cases of devices it might fit well to have that low level access, but in other cases not at all.