[EZ-Serial Firmware for CYW2070x-based Modules] About status of p_cyspp_status(.CYSPP, ID=10/1)event

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
KeTa_1341526
Level 5
Level 5
Distributor - TED (Japan)
10 likes given 10 likes received 5 likes given

Hello,

Please tell me about the p_cyspp_status (.CYSPP, ID = 10/1) event of EZ-Serial FW.
I understand the following Bit mask in "S (status)" of Event Parameters.

- Bit0 (0x01) = Unacknowledged data subscribed
.CYSPP,S=01
=> Indicates that 0x01(Notify) was written to the Configuration Descriptor(UUID 0x2902) of "Unacknowledged Data Characteristic(UUID 65333333-A115-11E2-9E9A-0800200CA102)".

- Bit1 (0x02) = Acknowledged data subscribed
.CYSPP,S=02
=> Indicates that 0x02(Indicate) was written to the Configuration Descriptor(UUID 0x2902) of "Acknowledged Data Characteristic(UUID 65333333-A115-11E2-9E9A-0800200CA101)".

- Bit2 (0x04) = RX flow subscribed
.CYSPP,S=04
=> Indicates that 0x02(Indicate) was written to the Configuration Descriptor(UUID 0x2902) of "RX Flow Characteristic(UUID 65333333-A115-11E2-9E9A-0800200CA103)".

However, I don't know when the following Bits will be effective.
Please tell me the conditions under which these Flags are set.
- Bit 3 (0x08) = RX flow blocked by remote Server
- Bit 4 (0x10) = CYSPP peer support verified
- Bit 5 (0x20) = Data mode active (used internally)

Best regards,
TK

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

- Bit 3 (0x08) = RX flow blocked by remote Server

Bit 3 means the peer device can't receive more data. We need to slow down the notify/indicate speed.


- Bit 4 (0x10) = CYSPP peer support verified
- Bit 5 (0x20) = Data mode active (used internally)

Bit 4 and Bit 5 is not supported for the current EZ-Serial now.

View solution in original post

0 Likes
3 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

- Bit 3 (0x08) = RX flow blocked by remote Server

Bit 3 means the peer device can't receive more data. We need to slow down the notify/indicate speed.


- Bit 4 (0x10) = CYSPP peer support verified
- Bit 5 (0x20) = Data mode active (used internally)

Bit 4 and Bit 5 is not supported for the current EZ-Serial now.

0 Likes
KeTa_1341526
Level 5
Level 5
Distributor - TED (Japan)
10 likes given 10 likes received 5 likes given

Thank you for your reply.

Does it mean that Bit3 is used only when EZ-Serial is used as a GATT Client?

Best regards,

TK

0 Likes
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Yes, the bit is set by the remote server.

0 Likes