The application successfully connects to the engine. But when I send the data, the thread doesn’t show it received anything and my program just sits waiting for an ACK. I ramped up the engine output and see that it is receiving the message. At first I saw I was getting a read error and discovered an extra set of 0xD 0x1C at the tail of the message. I removed those and now I don’t get any error that I can see, but it still isn’t receving the message. It’s not even NAKing it.
I’ll tack some of the engine output at the end although I can’t see much that helps me. I’m excluding the message itself since it has patient data.
Any ideas?
[pti :sche:DBUG/2: ibtest] Thread 3 has been enabled
[pti :sche:INFO/1: ibtest] Thread has 1 ready events.
[pti :even:DBUG/0: ibtest] Processing SOCKET (PDL server) event 0x00AE1BD8
[pti :even:DBUG/1: ibtest] Calling cb 0x41e54c
[pdl :read:DBUG/2: ibtest] Events: E 0, R 8, W 0
[pdl :PDL :DBUG/0: ibtest] read 680 bytes
[pdl :PDL :DBUG/0: ibtest] input buffer accepted 680 bytes, now 680
[pdl :PDL :DBUG/0: ibtest] 0b 4d 53 48 7c 5e 7e 5c |.MSH|^~|
[pdl :PDL :DBUG/0: ibtest] 26 7c 49 44 58 72 61 64 |&|IDXrad|
[pdl :PDL :DBUG/0: ibtest] 7c 30 30 31 7c 48 49 53 ||001|HIS|
[pdl :PDL :DBUG/0: ibtest] 7c 30 30 31 7c 32 30 30 ||001|200|
[pdl :PDL :DBUG/0: ibtest] 37 31 30 30 31 30 30 34 |71001004|
[pdl :PDL :DBUG/0: ibtest] 34 34 30 7c 7c 4f 52 4d |440||ORM|
[pdl :PDL :DBUG/0: ibtest] 5e 4f 30 31 7c 31 31 35 |^O01|115|
[pdl :PDL :DBUG/0: ibtest] 37 39 36 39 30 7c 50 7c |79690|P||
[pdl :PDL :DBUG/0: ibtest] 32 2e 32 0d 50 49 44 7c |2.2.PID||
[pdl :PDL :DBUG/0: ibtest] 30 30 34 35 30 30 0d 1c |004500..|
[pdl :PDL :DBUG/0: ibtest] IDLE and 680 bytes but no error: starting READ
[pdl :PDL :DBUG/2: ibtest] PDL changed states: old 0, new 1
[pdl :PDL :DBUG/0: ibtest] Calling Tcl procedure: hci_pd.read
[pdl :PDL :DBUG/0: ibtest] with args: {}
[pdl :PDL :DBUG/0: ibtest] Tcl procedure hci_pd.read returns ‘RECEIVE’
[pdl :PDL :DBUG/0: ibtest] trying to match phrase: basic-msg
[pdl :PDL :DBUG/1: ibtest] PDL setting timeout in 15.00 seconds
[diag:leak:DBUG/0: ibtest] diag ev alloc 0x00AD4BA8
[diag:leak:DBUG/0: ibtest] diag dqe alloc 0x00AD3B80
[pti :even:DBUG/0: ibtest] Registering TIMER (
[pti :even:DBUG/0: ibtest] Registering TIMER event for tid 3
[pdl :PDL :DBUG/0: ibtest] READ operation in progress (680 bytes buffered still, 680 before)
[pti :sche:INFO/1: ibtest] Thread has 0 ready events left.
[pti :sche:DBUG/2: ibtest] Thread 3 has been enabled
[pti :sche:INFO/1: ibtest] Thread has 1 ready events.
[pti :even:DBUG/0: ibtest] Processing ACTIVE_TIMER (
[pti :even:DBUG/1: ibtest] Calling cb 0x5225b3
[msi :msi :DBUG/1: ibtest] msiExportStats: export for thread: ibtest
[pti :even:DBUG/0: ibtest] Unregistering ACTIVE_TIMER (
[pti :even:DBUG/0: ibtest] evUnregister ACTIVE_TIMER event 0xAE0B50 for tid 3
[diag:leak:DBUG/0: ibtest] diag timeval alloc 0x00AD4208
[diag:leak:DBUG/0: ibtest] diag dqe alloc 0x00AEB458
[pti :even:DBUG/0: ibtest] Registering ACTIVE_TIMER (
[pti :even:DBUG/0: ibtest] Registering ACTIVE_TIMER event for tid 3
[diag:leak:DBUG/0: ibtest] diag timeval free 0x00AD4208
[pti :sche:INFO/1: ibtest] Thread has 0 ready events left.
[pti :sche:INFO/2: ibtest] Performing apply callback for thread 3
[msi :msi :DBUG/1: ibtest] msiExportStats: export for thread: ibtest
[pti :sche:DBUG/2: ibtest] Thread 3 has been enabled
[pti :sche:INFO/1: ibtest] Thread has 1 ready events.
[pti :even:DBUG/0: ibtest] Processing TIMER (
[pti :even:DBUG/1: ibtest] Calling cb 0x41fb71
[pdl :PDL :DBUG/0: ibtest] multi_phrase_2: status = timeout
[pdl :PDL :DBUG/0: ibtest] Calling Tcl procedure: read.timeout
[pdl :PDL :DBUG/0: ibtest] with args: {{status timeout}}
[pdl :PDL :DBUG/0: ibtest] pdiIgnoreInput: chop to 1, bolen 0
[pdl :PDL :DBUG/0: ibtest] pdiIgnoreInput: after memmove: 0 + 679
[pdl :PDL :DBUG/0: ibtest] pdiIgnoreInput: chop to 4294967295, bolen 0
[pdl :PDL :DBUG/0: ibtest] pdiIgnoreInput: after clear: 0 + 0
[pdl :PDL :DBUG/0: ibtest] Tcl procedure read.timeout returns ‘0’
[pdl :PDL :DBUG/2: ibtest] PDL changed states: old 1, new 0
[pti :even:DBUG/0: ibtest] Unregistering TIMER (
[pti :even:DBUG/0: ibtest] evUnregister TIMER event 0xAD4BA8 for tid 3
[diag:leak:DBUG/0: ibtest] diag ev free 0x00AD4BA8
[pti :sche:INFO/1: ibtest] Thread has 0 ready events left.
[pti :sche:DBUG/2: ibtest] Thread 3 has been enabled
[pti :sche:INFO/1: ibtest] Thread has 1 ready events.
[pti :even:DBUG/0: ibtest] Processing ACTIVE_TIMER (
[pti :even:DBUG/1: ibtest] Calling cb 0x5225b3
[msi :msi :DBUG/1: ibtest] msiExportStats: export for thread: ibtest
[pti :even:DBUG/0: ibtest] Unregistering ACTIVE_TIMER (
[pti :even:DBUG/0: ibtest] evUnregister ACTIVE_TIMER event 0xAE0B50 for tid 3
[diag:leak:DBUG/0: ibtest] diag timeval alloc 0x00AD4208
[diag:leak:DBUG/0: ibtest] diag dqe alloc 0x00AEB458
[pti :even:DBUG/0: ibtest] Registering ACTIVE_TIMER (
[pti :even:DBUG/0: ibtest] Registering ACTIVE_TIMER event for tid 3
[diag:leak:DBUG/0: ibtest] diag timeval free 0x00AD4208
[pti :sche:INFO/1: ibtest] Thread has 0 ready events left.
[pti :sche:INFO/2: ibtest] Performing apply callback for thread 3
[msi :msi :DBUG/1: ibtest] msiExportStats: export for thread: ibtest
Engine idle — 10/03/2007 11:04:36