Comments (4)
Hi, yes that is implemented and works, but I didn't get around to merge it yet.
See #474
Everything relating to Schedule and Calendar should be supported on that branch. If you don't mind it's a few months stale, you can try it
from bacnet-stack.
Thanks, it's working.
Is the write supported too?
When is it scheduled to be merged to the master branch?
from bacnet-stack.
Yes, writing works. I'm not sure if it's implemented in the example apps that come with bacnet stack though - I am using it as a statically linked library and call the API directly.
there is no schedule or plan for merging, it will happen, but I didn't have time for that yet
from bacnet-stack.
Thank you for the answer.
I also found out that the SCALE property of the Accumulator object is not processed - it returns the MAX_BACNET_APPLICATION_TAG type.
I added an implementation to my code. Here is my implementation in file bacapp.c:
In the func;
BACNET_APPLICATION_TAG function bacapp_context_tag_type(BACNET_PROPERTY_ID property, uint8_t tag_number)
add code:
PROP_SCALE case:
switch (tag_number) {
case 0:
tag = BACNET_APPLICATION_TAG_REAL;
break;
case 1:
tag = BACNET_APPLICATION_TAG_SIGNED_INT;
break;
}
And in the function:
**int bacapp_decode_known_property(uint8_t apdu, int max_apdu_len, BACNET_APPLICATION_DATA_VALUE value, BACNET_OBJECT_TYPE object_type, BACNET_PROPERTY_ID property)
case PROP_SCALE: //new prop
case PROP_TRACKING_VALUE:
case PROP_PRESENT_VALUE:
if (object_type == OBJECT_COLOR) {
Please add to your code as well.
Thanks.
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.