I want to use python descriptors (get, set, delete) in micropython on XBee3. Micro python has to be compiled with that option enabled. Does anyone know if XBee3 MicroPython supports descriptors?
No it currently does not support descriptors.
If I want to recompile MicroPython with the descriptor flag turned on, is there anything that would prevent me from doing so? Do I need any code from Digi that is not publicly available?
Since the module does not support this, I am not sure. I suppose if you were able to find the proper lib and add that to your code, then it might work.
@mvut: Descriptors cannot be added to my code by including “the proper lib”. Rather, support for them is only available if MicroPython is compiled with the correct flag setting. The Digi XBee port does not appear to be publicly available which means that I cannot do much to fix this AFAIK.
Some may argue that descriptors are unnecessary and will slow down the system. Others show numbers that demonstrate improved performance with their use.
I mainly want the feature because it provides a very elegant way to abstract the hardware interface.