CP mode not sending POLLs #251
Replies: 5 comments 2 replies
-
|
Hi, can you please post the Debug logs? Without that, it's hard to tell what the issue might be. How are you seeing that only one packet is sent by the CP? |
Beta Was this translation helpful? Give feedback.
-
|
I saw by the oscilloscope connected to the RS485 lines. I'll enable the debug logs and post them shortly. There's only one log posted by OSDP, it's just the greeting: [00:00:00.001,000] app_osdp: libosdp: osdp::cp: osdp_cp.c:1597 [INFO ] CP Setup complete; LibOSDP-3.1.0 platformio NumPDs:1 Channels:1 |
Beta Was this translation helpful? Give feedback.
-
|
How do I configure libosdp to send POLL every 50ms like it's supposed to? |
Beta Was this translation helpful? Give feedback.
-
|
You don't have to configure it to POLL, that's the default behavior. Please post the debug logs (see https://libosdp.sidcha.dev/libosdp/debugging.html) here as requested earlier. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, here's the logs I have. I set the OSDP logger to debug but this is all I get. Some of these logs are for my application but the ones that say libosdp are yours. [00:00:00.000,000] app_osdp: OSDP CP thread initializing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, so I'm trying to use libosdp in CP mode on an STM32G071RB, and it sends one poll request and then silence, whether the PD replies or not. Can you test CP mode? Am I doing something wrong? I can see that osdp_cp_refresh() is being called in the right interval, but it looks like after that one command it just gives up, never responds to the PD.
Beta Was this translation helpful? Give feedback.
All reactions