DeutscheSoft / AES70.js

A controller library implementing the AES70 standard
Other
39 stars 5 forks source link

How to create an OCA device containing such as ”ocagain” object #12

Open Shurehon opened 12 hours ago

Shurehon commented 12 hours ago

Hello, first of all, thank you very much for providing the code. I have successfully controlled the attribute of setgain and getgain for online OCA devices through aes70.js. This is an important breakthrough for me. I would like to use this simple example to familiarize myself with the interaction between them. But the OCA device is also an important part, and I feel confused about it now. I ran the OCALite.cpp file, but only obtained the Ocp1LiteNetwork object through the controller. I want to know how to add a such as “ocagain” object function to the OCA device in the OCALite project and hope to be able to communicate with this device in aes70.js for “setgain“ and “getgain”. Can you provide me with a simple example or a rough process? Thank you very much!

arneg commented 11 hours ago

I am myself not familiar with the OcaLite code. Were you able to build the oca lite project and get a device up and running. Does it show up correctly in aes70explorer?

Shurehon commented 11 hours ago

Thank you very much for your reply. I successfully built the ocalite vs project and ran ocalite.cpp. However, in the aes70explorer, the Ocp1LiteNetwork/OcaNetwork object appears below the device name on the left side, and some device information such as the device manufacturer is displayed in the lower right corner. I don't know if this is the result of running this project. Other features may need to be added by myself

arneg commented 10 hours ago

Yes, I think additional objects might have to be added by you. I have never used OcaMicro myself, so maybe it would be best to ask over at https://github.com/OCAAlliance/OcaToolsAndDemos/