.NET Components for Mobility

NetworkStream.Write - 42 chars limit

Last post 10-01-2008 4:53 PM by PeterFoot. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-01-2008 2:18 PM

    NetworkStream.Write - 42 chars limit

    Hello,
    I'm using NeworkStream.Write/Read methods to communicate with a BT device over Handsfree profile using AT commands. Everything works well except one command that displays text message on the device display. The device receives the command but it's cut down to 42 characters - only first 42 letters of the command is accepted and processed (this is not a limit of the device). (I tried NetworkStream.Write/BeginWrite, Socket.Send. All with the same result.)

    For example
    \r\n+XXXXX: 1,12,\"1234567890123\",\"first test parameter\",\"second...
    Only "1234567890123" and ""first test" is received.

    Is there any reason why 42 chars can possibely be any kind of a limit?

  • 10-01-2008 4:53 PM In reply to

    Re: NetworkStream.Write - 42 chars limit

    I'm not familiar with this specific capability is it part of the HFP spec or specific to the device?

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.