I've got a DS1000, and am using the "net_to_ser_1" project, with slight adjustments (IP Address, Port) to attempt a test of tcp communications going down to the serial port.
However, when debugging I attach to the event 'on_sock_data_arrival', and data arrives, but it doesn't get sent (the device I'm connecting to [a POS] doesn't respond how I know it should).
Any ideas what I am doing wrong? The Baud rate/ flow control are all set correctly.
Appreciate any advice.
I have independantly (of the Tibbo) tested the exact same packet that I am sending to the TCP port and had it respond appropriately.
I'm currently developing a security system. It's ethernet-based and I'm using an EM1000. It seemed OK, until I found that anyone having access to the network could stop the application (and replace it with another!!!) simply using Tibbo's IDE (TIDE), available to anyone on the internet.
How can I protect an application running on an EM1000?
*** Hint *** In the same network I have an access control terminal (from Giga-Tms), based on a Tibbo module, running some "3.14(S)+N" firmware version. Any attempt of rebooting or uploading results in a message box request "Enter password". Can't EM1000 do this as well?
Hi
I have a problem with my EM202 module.When i connect it to a hub, i can reach. But connecting to switch arise some connection problems include not pinging although i set static IP,gateway and netmask.
Do i need to do some other settings?
Waiting for solutions.
Thanks.
Will it be possible to upgrade application written in basic through the network like with EM203 devices which use net loader for this. Maybe you could add some library function which could be added in application.
I have tried to find an answer to this, but I would like to make sure that I get this right the first time.
I am designing a piece of hardware that will incorporate the EM1000W as the central processor. I don't want to include an Ethernet port just for programming purposes. Therefore, I would like to be able to only add a serial port (DB9 connector) to the project which will be used to program the EM1000W. I want to be able to upload firmware as well as my program/application via the serial port. I also would like to be able to use debugging while developing the application.
Is all of this possible via only a serial port? Do I only need to wire up serial0 on the EM1000 to the DB9 connector for this to work? Any special wiring for debugging to work?
We have a site here where we are using 3 EM202's, which are of course all on the local LAN. When the devices are powered up they all work as expected and can be viewed using DS Manager but after a short while they start disappearing off the network and we need to reboot them for them to work again. Have you experienced this issue before and what is the likely cause of the problem?...will it have something to do with their Router or Server?
Hi, can anyone please help with this problem on DS1000/EM1000?
I need to use redirection between a TCP port and serial port but also with inband commands. I have set up ports as follows:
sock.num=0
'Configure TCP port here ...
sock.inbandcommands=YES
sock.escchar=123 'This is {
sock.endchar=125 'This is }
sock.redir(PL_REDIR_SER0)
ser.num=0
'Configure serial port here ...
ser.redir(PL_REDIR_SOCK0)
ser.enabled=YES
sub on_sock_inband()
'Do some stuff here to switch LEDs depending upon
'what is in between {}
end sub
I am putting my inband commands within {} brackets. I can send "012345{-R1}67890" to TCP port with Ninja and correctly get "01234567890" out of Ser0 with Hyperterminal, however the on_sock_inband sub is not being called. In debug I put a breakpoint there but it is not reached, and my inband code to flash red LED is not executed.
Also, data sent to Ser0 is not being transmitted at the TCP port.
In the Demp project for SNTP called ITS.tpr there is a "magic handshake" with the Timeserver of &H0B followed by forty-seven sequencial &H00's. --- See the function SNTPQuery.
Can any one point me to documentation that explains this specifically?
Hi all,
I've been reading documentation at http://docs.tibbo.com/soism/, Firmware - Device Server Application Firmware - Reference - Connection Settings - Inband Commands. There is a paragraph like "Inband Commands setting is also irrelevant when current Link Service Login (TL) [setting/parameter]= 1 (enabled) because inband commands are always enabled when Link Service is used". Is that true? Has anybody ever send a command to the DS being the parameter Link Service Login = 1?. It's easy to do that when this parameter is 0, and Inband Commands = 1, but not whith the former configuration.
Thanks
H? , i am examine EM1000. If i select option W, can i drive any SPI device ( like serial flash memory ) with EM1000's SPI ports ( #71-80 Pins). Or can i select option –W and option -A together? ( EM1000W-1024K-A-01 )
Dear Friends,
Is there any real world example for modules ?
I need start to end basic explanation and example.
I have an rs232 device that sends temperature data and
want to publish data into web page. rs232 device and
EM202 module stands back an ADSL modem.
Can Anybody explain how can I setup this type projects ?
Any replies would be nice,
Thanks in advance,
I want to measure the signal strength reaching my device antenna, once every minute (for example). To do so, I must:
- disassociate from the network
- (re)scan
- (re)associate
- display the result (the RSSI value)
Here's the code:
for n= 1 to 10
res= wln.disassociate
while wln.task <> PL_WLN_TASK_IDLE
wend
if wln.associationstate= PL_WLN_NOT_ASSOCIATED then
exit for
end if
next n
for n= 1 to 3
res= wln.scan(WLAN_NAME)
if res= ACCEPTED then
exit for
end if
next n
if res= ACCEPTED then
while wln.task <> PL_WLN_TASK_IDLE
wend
wln.associate
while wln.task <> PL_WLN_TASK_IDLE
wend
lcd.print("RSSI= " + right("000" + str(wln.scanresultrssi), 3), 0, 24)
else
lcd.print("Scan Error", 0, 24)
end if
The program tries the disassociation 10 times, no result!
Because of this, no scan is possible :-(
Meanwhile, the program keeps receiving UDP packets from the wireless network, no problem!
I posted this to TIbbo support service, I'll post the answer(s).
Meanwhile, has anyone disassociated (successfully) from a wireless network?
Help required, please! Thanks in advance :-)
If you use this company's products or services, we'll add the company to your dashboard. If you work for this company, we'll add you as an employee. Got it, thanks!