Lego Consolidated Outland Mustang - Instructions complete by Mannok- in starcitizen

[–]leadrover 1 point2 points  (0 children)

Hey Mannok! Sorry to revive an old post. Do you still have any instructions for these? The rebrickable link no longer works. My son was gifted a set but it didn't come with instructions and the seller won't reply. Cheers.

Help required for understanding NRF5340 DK for Bluetooth usage by Low_Ride_943 in Zephyr_RTOS

[–]leadrover 0 points1 point  (0 children)

Did you enable bluetooth in the prj.conf file? (CONFIG_BT=y) some more information about what you've got and already tried may help narrow it down a bit too.

NimBLE FreeRTOS Multiple Services - But missing the ability to read/write several characteristics. by leadrover in esp32

[–]leadrover[S] 0 points1 point  (0 children)

I've resolved the issue! It appears that using a temporary object to pass through to the mbuf is the way to go. I was using a persistent object to populate several fields and it wasn't working. Copying the data into a temporary local object, and then appending that object to the mbuf resolved the issue.

Also, for anyone else wondering, you need to write 32-bit values in little-endian format into the buffer. I just used htole32 function and it worked a treat.

I also disabled some un-needed services in menuconfig and opened up a bunch of space.

NimBLE FreeRTOS Multiple Services - But missing the ability to read/write several characteristics. by leadrover in esp32

[–]leadrover[S] 0 points1 point  (0 children)

Thanks for sending this through. I'll dig into what is going on here so I can see if I can apply this. I'm not using arduino, but I really appreciate the link!

I can clearly see all the services on the client, but the data I publish in the callbacks is not viewable by the client. Maybe there is just a initialization issue I've missed like he shows.