Hi All,
Recently I found that the multi transport restriction of Android in CA's scons 
script is removed, so I tried to build a new aar to support IP/EDR/LE 
simultaneously.
My application runs well before I added reference to the new aar, although it 
only support IP adapter due to IoTivity limitation. After integrate with the 
new aar, the Android sample app: simpleclient and simpleserver, work great with 
Bluetooth EDR connection, but often crashed on my application.
Basically my client will do polling to server periodically (assume 5s), and the 
app always crashed after about one minute. The log says there is an error: "JNI 
ERROR (app bug): local reference table overflow (max=512)", so I guess there 
are some issues in the CA implementation.
Also, if I set the period more frequently, almost no operation will succeed 
(findResource, get...), I suspect the implementation of EDR is not thread-safe, 
so the data operation on the Bluetooth interface will lead to unexpected 
behavior?
Here are some logs of my application for this issue: http://pastie.org/10319711


Thanks!

Best Regard, === Yu-Hsin Hung,Electrical Engineering and Computer Science 
Undergraduate Honors Program, National Chiao-Tung Universiry, Hsinchu 300, 
Taiwan (Phone) +886911012113(Email) hungys at hotmail.com (Website)  
http://hungys.logdown.com/ ===                                          
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150730/8bf36a79/attachment.html>

Reply via email to