FC11 ESP32-S3 BLE error

Any bugs you encounter with Flowcode should be discussed here.
stefan.erni
Valued Contributor
Posts: 1148
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 219 times
Been thanked: 238 times

Re: FC11 ESP32-S3 BLE error

Post by stefan.erni »

Hi Ben

Perfect!
SendArray is working for this 3 commands
to send: as buffer as "on" or as string
2026-01-07_13-37-54.PNG
2026-01-07_13-37-54.PNG (57 KiB) Viewed 80 times
That means it already works very well.

I have observed that it is already perfectly implemented in ESP32 BLE_GATT.
these practical send/receive IntArray
but one little thing remains in the App BLE_GATT_SPP:
:)
2026-01-07_13-54-12.PNG
2026-01-07_13-54-12.PNG (49.18 KiB) Viewed 80 times

something very small:
If I send, the TX LED is flashing
but if I receive a byte, the RXLED is not flashing(it's not a problem)
2026-01-07_13-40-01.PNG
2026-01-07_13-40-01.PNG (11.44 KiB) Viewed 80 times

BenR
Matrix Staff
Posts: 2064
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 549 times
Been thanked: 735 times

Re: FC11 ESP32-S3 BLE error

Post by BenR »

Aha sorry I didn't make the new macros public! RX LED should flash now too.

Should be there for you now ;)

stefan.erni
Valued Contributor
Posts: 1148
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 219 times
Been thanked: 238 times

Re: FC11 ESP32-S3 BLE error

Post by stefan.erni »

Hi Ben

Yes RX Led is perfect!

Also the send/receive IntArray is there.

but one little thing ....

NumValues are usually int or uint

A byte has crept into these three macros.

But it's not really a problem.
2026-01-07_14-59-07.PNG
2026-01-07_14-59-07.PNG (130.26 KiB) Viewed 66 times
SNAG-0056.PNG
SNAG-0056.PNG (138.43 KiB) Viewed 66 times
SNAG-0057.PNG
SNAG-0057.PNG (74.51 KiB) Viewed 66 times

BenR
Matrix Staff
Posts: 2064
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 549 times
Been thanked: 735 times

Re: FC11 ESP32-S3 BLE error

Post by BenR »

Hi Stefan,

The byte is there on purpose as I have to define a byte byffer to use as a go between to convert from bytes to ints and that is fixed at 512 bytes and so more then 256 values in the array would require a bigger buffer of unknown size. It's a compromise but seems to be what I have put in place in the other components that work with arrays of ints.

stefan.erni
Valued Contributor
Posts: 1148
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 219 times
Been thanked: 238 times

Re: FC11 ESP32-S3 BLE error

Post by stefan.erni »

Hi Ben

I cannot locate the comonents in the web developer.
I'm on it, I think we have already released the web developer version of a component

Post Reply