Hi Ondrej.Glad to see your reply!
I am totally lost. If SPI protocol does not need an acknowledge like I2C why I am receiving a ConnectionNotFoundException?
I am testing the code without any external connection.If I use AT Command there isn't any problem at all.
Regards,
German Fischman
open spi
javax.microedition.io.ConnectionNotFoundException
- javax.microedition.io.Connec
tor.open(), bci=12
- javax.microedition.io.Connector.open(), bci=3
- javax.micro
edition.io.Connector.open(), bci=2
- fox.Fox$SPICommunicator.openSPI(), bci=11
-
fox.Fox$PortListener.run(), bci=34
sending data SPI CHANNEL
Uncaught exception: java.lang.NullPointerException: 0
- fox.Fox$SPICommunicato
r.send(), bci=102
- fox.Fox$SPICommunicator.sendCommand(), bci=2
- fox.Fox$SPICo
mmunicator.displayNumber(), bci=25
- fox.Fox$PortListener.run(), bci=75
Running SetUp
sending data SPI CHANNEL
Uncaught exception: java.lang.NullPointerException: 0
- fox.Fox$SPICommunicato
r.send(), bci=102
- fox.Fox$SPICommunicator.sendCommand(), bci=2
- fox.Fox$SPICo
mmunicator.setup(), bci=11
- fox.Fox$PortListener.run(), bci=39