• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Bluetooth® Applications » PAN1315 & Windows CE 6.0
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

PAN1315 & Windows CE 6.0

PAN1315 & Windows CE 6.0

This question is answered
Paolo Cazzola
Posted by Paolo Cazzola
on Mar 14 2012 07:48 AM
Prodigy40 points

Hello,

did anybody test PAN1315 with Windows CE 6.0 R3 bluetooth stack ?

Currently I am able to communicate with the device through UART2 at 115.2kbs but inquiry does not report any device on the net and my device is not seen by other BT devices.

WinCE BT stack during initialization sends the following commands:

HCI_Reset, HCI_ReadBufferSize, HCI_ReadScanEnable, HCI_WriteScanEnable, HCI_ReadBDAddr, HCI_CHangeLocalName, HCI_WriteClassOfDevice.

All these commands are acknowledged by status code 0x00 from PAN1315 in a Command Complete Event message.

PAN1315 answer to HCI_Inquiry command with a Command Status Event with command pending status (0F 04 00 01 01 04).

After 10 seconds I receive an Inquiry Complete Event   but no network device is enumerated :-(

The following post http://e2e.ti.com/support/low_power_rf/f/660/t/119708.aspx?PageIndex=1 say a Service Pack is required for correct operation.

I would like to know if the service pack is for Linux BT stack or for the device itself.

If so how can I apply the service pack?

Thanks for your attention,

PaoloC 

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Miguel
    Posted by Miguel
    on Apr 02 2012 00:23 AM
    Verified Answer
    Verified by Paolo Cazzola
    Genius11555 points

    Hello Paolo,

    Yes, you can use the same service pack. It is not dependent on the OS. You need to download it to the PAN1315 every time the device is turned on.

    Regards,

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Paolo Cazzola
    Posted by Paolo Cazzola
    on Apr 02 2012 01:03 AM
    Prodigy40 points

    Hi Miguel,

    thanks a lot for the answer.

    I have cloned/ported the logic from BlueZ stack to WinCE one and now PAN1315 is working under WinCE 6.0.

    Regards,

    PaoloC

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on Apr 02 2012 19:40 PM
    Genius11555 points

    Hi Paolo,

    Yes, that is a good approach.

    Regards,

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • RAJA SANKARAN
    Posted by RAJA SANKARAN
    on Feb 06 2013 23:41 PM
    Prodigy160 points

    Hi Paolo,

    I am also facing the same kind of issue in Windows CE 6.0 project. I am able to communicate with the device through UART2 at 115.2kbps but my BT device does not connect with other BT devices and my device is not seen by other BT devices.

    I didn't apply service pack.

    Could you please say the procedure to solve the problem.

    Here is Debug messages for when my BT device try to connect with other BT device and it is failed. As you seen in below statements, Connect command is sent to BT device for connecting with other BT address.But after some time got Error report from my  BT device and device is disconnected. 

    [TRP] HCI_WritePacket type 0x01 len 16

    [TRP] 0000 05 04 0d 81 5d f5 98 80 | ....]...
    [TRP] 0008 00 18 cc 01 00 16 b8 00 | ........
    [HCI] bt_create_connection_in completed with status 0
    [TRP] HCI_WritePacket : DONE type 0x01 len 17
    [TRP] HCI_ReadPacket: Event
    [HCI] Writer: go to sleep
    [TRP] 0000 0f 04 00 01 05 04 | ......
    [HCI] Writer: woke up
    [HCI] CommandStatus: op 0x0405 status 0
    [HCI] CommandStatus:: going into callback
    [L2CAP] hci_create_connection_out: status = 0
    [L2CAP] hci_create_connection_out: ERROR_SUCCESS
    [HCI] Writer : no packets
    [HCI] Writer: HciCommTimeout=0x3a98, PacketsSent=0, PacketsPending=0xd2a553c0
    [HCI] Writer: go to sleep
    [HCI] Writer: woke up
    [HCI] CommandStatus:: came from callback
    [HCI] Going into StackEvent monitor notification
    [HCI] Writer : no packets
    [HCI] Writer: HciCommTimeout=0x3a98, PacketsSent=0, PacketsPending=0xd2a553c0
    [HCI] Writer: go to sleep
    [HCI] Came back StackEvent notification
    [HCI] Going into StackEvent monitor notification
    [L2CAP] L2CAP : HCI Hardware event
    [HCI] Came back StackEvent notification
    [TRP] HCI_ReadPacket
    [L2CAP] RequestPhysicalLink : 008098f55d81 returns 0
    [L2CAP] MakePhysicalLink :: returning 0
    [L2CAP] MakeLogicalLink to 008098f55d81 psm 0x0001
    [UTILS] btutil_AllocHandle :: h=0x00020007 pv=0xD2A5A6DC
    [L2CAP] MakeLogicalLink returns 0
    [L2CAP] l2ca_connect_req_in returns 0
    [SDP] came from l2ca_ConnectReq_In
    [SDP] sdp_Connect_In: iRes = 0x00000000
    [TRP] HCI_ReadPacket: Event
    [TRP] 0000 03 0b 04 01 00 81 5d f5 | ......].
    [TRP] 0008 98 80 00 01 00 | .....
    [HCI] ConnectionComplete status = 4 handle = 0x0001 bd_addr = 008098f55d81 link = 1 encrypt = 0
    [HCI] PACKET TRACK :: Destroyed packet 0xd2a553c0
    [HCI] ConnectionComplete:: going into callback
    [L2CAP] hci_connection_complete_event: status = 4
    [L2CAP] DisconnectPhysicalLink :: 008098f55d81 reconnect = 0
    [L2CAP] AbortCall:: going in callback
    [SDP] sdp_lCallAborted(0x00020005,1460)
    [SDP] Entering l2ca_Disconnect_In, cid = 0x0000
    [L2CAP] l2ca_disconnect_in (0x0000)

    I am verified the windows CE BT stack with another BT device and it is working.

    Regards

    Raja

    PAN 1323 Windows CE 6.0 Bluetooth
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Paolo Cazzola
    Posted by Paolo Cazzola
    on Feb 07 2013 03:15 AM
    Prodigy40 points

    Hi Raja,

    without service pack PAN1315 didin't work for me.

    To apply service packe you have to:

    1) Clone project from C:\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\BLUETOOTH\TRANSPORTS\UART

    2) In HCI_OpenConnection add the logic to download service pack update

    3) I have got the update logic from BlueZ stack  and the service pack file is TIInit_6.2.31.bts

     

    If you post your email address I can send you my files

    PaoloC

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • RAJA SANKARAN
    Posted by RAJA SANKARAN
    on Feb 07 2013 03:32 AM
    Prodigy160 points

    Hi Paoloc 

    Thanks for your reply.

    My mail address is raja@e-consystems.com. Please send me the required files. 

    Regards

    Raja

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use