Comments (5)
From the code posted, it appears that the bacnet_task() is running in a separate task from COV without using mutex for data protection with other data in the stack.
In a product I developed that used MSTP with FreeRTOS:
- called all the BACnet tasks functions in the one FreeRTOS task with a thread-safe queue for incoming PDUs and outgoing PDUs
- one task for mstimer
- one task for each MSTP datalink calling datalink_receive() feeding the incoming queue with PDUs received, and sending the outgoing queued PDUs
There is a work-in-progress (incomplete, not tested yet, not compiled yet) branch of a FreeRTOS BACnet MSTP example at github.
You might also have success refactoring handler_cov_fsm()
to suit your needs (it only processes one subscription and one state per call), shrinking the number of COV subscriptions, or running your handler_cov_fsm() task faster than 10ms.
from bacnet-stack.
Hello,
In version 0.9, Analog_Input and Binary_Input also work with COV and there are no problems.
I noticed that COV is not working in the latest version.
handler_cov_task also causes a stack overflow.
I'm working with Esp32.
If there is a setting, can you share it?
from bacnet-stack.
Hello,
My current solution is to use ucov instead of ccov.
from bacnet-stack.
Merhaba, Şu anki çözümüm ckov yerine ucov kullanmak.
hello, thank you for your answer.
In which version of COV Bacnet does it work properly?
COV does not work for me in version 1.3.1. In version 0.9, COV responds fast enough in mstp, but in IP it responds in 1-2 seconds.
from bacnet-stack.
The version I am currently using is 1.0.0. I only use mstp. IP is not currently used. Both ccov and ucov can run through.
from bacnet-stack.
Related Issues (20)
- undefined reference to 'xxx_function' with cgo_gcc when build the golang codes with shared library HOT 4
- Update to Zephyr v3.6.0 HOT 1
- Life Safety Zone object support
- Inconsistent bacnet-config.h inclusion in header order HOT 1
- Inconsistant use of index/object_instance in ai.c
- the bacserv of MSTP in win32 work abnormal ! HOT 4
- NPDU: DNET=708. Discarded!
- Issue with writing schedule using /apps/writeprop/bacwp HOT 3
- Pipeline static analysis issues with Some hardware. HOT 1
- Invoke ID mismatch HOT 3
- Bacnet on linux HOT 1
- Structured-View-Object HOT 1
- Basic Objects av.c & ai.c have different Alarm_Ack functionality HOT 1
- how to work bacnetip and mstp together HOT 1
- The MSTP device object does not have the object_lists attribute HOT 5
- Network Layer Priority test 10.1.2 fails in BTS HOT 3
- Unknown Network Layer message type. Test 10.2.2.7.2 HOT 1
- Unknown network layer message type. Test 10.8.2.2.2 HOT 1
- APDU Length test. Test 7.3.2.46.5 HOT 1
- Incorrect number of Read Protocol Services 47 instead of 49 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bacnet-stack.