[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] master disconnect



Dear All,

I have following problem after my module Ericsson ROK 101007 is master in a piconet and I 
disconnect (bt_disconnect_BB(BD_ADDR)) all slaves, it is not in inquiry-scan mode anymore
and can not be found from other devices. 
But if my module acts only as a slaves it never loses the inquiry-scan mode, sure during a
connection, but afterwards it can be inquired again.

I set the module in inquiry scan mode with the following HCI command:
unsigned int wrscan = (PAGE_SCAN_ENABLE | INQUIRY_SCAN_ENABLE);
hci_write_scan_enable(wrscan);

thanks in advanced,

                       Marco

.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:..:*~*:._.:*~*:.

                          _..--+~/@xxxxxxx.                                   
                    _-=~-/    (  .     "}                                 
                 _-~     _.--=.\ \""""""                                                  
               _~      _-       \ \_\                        
              =      _=          '--'                                                        
             '      =                             .                           
            :      :       ____                   '=_. ___       
       ___  |      ;                            ____ '~--.~.              
            ;      ;                               _____  } |     
         ___=       \ ___ __     __..-...__           ___/__/__       
            :        =_     _.-~~          ~~--.__                  
       _____ \         ~-+-~                   ___~=_______  
            ~@xxxxxxx.______ __ ___ _--~~--_        

  mmmm1@xxxxxxx.de


-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com