6 Replies Latest reply on Jun 19, 2017 11:36 PM by BoonT_56

    change channel map

    lemancai

      Is there an API we can use to change the channel map?

      In BT spec,"LE Set Host Channel Classification Command" can be used to change the channel map.

       

      In our project,there are a lot of connections.I log the air data and find that all connections use all channels as default.

      If the hop and the interval is the same,two connections may crashed in the future because of clock jitter.

        • 1. Re: change channel map
          BoonT_56

          In theory you can, but our current solutions do not support access via HCI commands. Isn't AFH good enough for you?

          1 of 1 people found this helpful
          • 2. Re: change channel map
            BoonT_56

            Strictly speaking, the "adaptive" frequency hopping will also maintain a channel map such that it will learn/adapt to avoid those bad channels and only approach the clean ones.

            1 of 1 people found this helpful
            • 3. Re: change channel map
              lemancai

              the AFH is good.

              Because in our project,there are a lot of connections in one place.

              we find there is no LL_CHANNEL_MAP_REQ during connection,and all connections use the same channel map(all channels).

              for example:

              20 connections use the same hop increment and interval.

              Currently they may uses different data channel,but they may be crashed due to clock jitter in the future.

               

              we want channge channel map to avoid the  situation above.

              • 4. Re: change channel map
                srinathl_56

                Please try using wiced_bt_ble_set_channel_classification() in wiced_bt_ble.h if you are in WICED Studio.

                • 5. Re: change channel map
                  lemancai

                  Hi Isri,

                   

                     Thanks for your support, but we could not find the wiced_bt_ble.h.

                     We are now developping with WICED Smart IDE:

                  WICED Smart IDE - Eclipse IDE for C/C++ Developers 2.2.3

                  Version: Juno Service Release 2

                  Build id: 20130225-0426

                  (c) Copyright Eclipse contributors and others 2000, 2013.  All rights reserved.

                  Visit http://eclipse.org/

                  This product includes software developed by the

                  Apache Software Foundation http://apache.org/

                   

                     Is this the same one as WICED Studio, you mentioned above ?

                   

                     Thanks

                  • 6. Re: change channel map
                    BoonT_56

                    I think he was referring to Wiced Studio, which is not applicable to the 736/737 products.

                     

                    The message is still the same, no API to change the channel map.