Skip to main content
pouya
Associate II
November 15, 2016
Question

Connectiong to the iPhone hotspot

  • November 15, 2016
  • 5 replies
  • 1112 views
Posted on November 15, 2016 at 08:58

Hi..

I can easily connect the module to any APs and it works fine. But, I can not connect it to the iPhone hotpots.. does hotshots needs additional configuration.?
    This topic has been closed for replies.

    5 replies

    Gerardo GALLUCCI
    ST Employee
    November 16, 2016
    Posted on November 16, 2016 at 18:43

    Hi,

    should work at same way...

    which security setting are running on your hotspot? What's the output on module?

    Regards

    jerry

    pouya
    pouyaAuthor
    Associate II
    November 17, 2016
    Posted on November 17, 2016 at 14:58

    Hi jerry. Thank for reply

    As far as iPhone hotspot setting goes, I can only set the password. there are no other parameters in iPhone setting side. in my side, I'm receiving this from the wifi module:

    +WIND:0:Console active
    +WIND:32:WiFi Hardware Started
    +WIND:21:WiFi Scanning
    +WIND:35:WiFi Scan Complete (0x0)
    +WIND:19:WiFi Join:**:**:**:**:**:** 
    +WIND:25:WiFi Association with 'Pouya's iPhone' successful
    +WIND:40:WiFi Deauthentication:2

    Gerardo GALLUCCI
    ST Employee
    November 17, 2016
    Posted on November 17, 2016 at 16:03

    Hi,

    I found an iPhone 6 for testing. This is what I saw on first attempt:

    17-Nov-16 15:58:22 [TX] - at+s.wifi=0<CR>

    at+s.ssidtxt=iPhone<CR>

    at+s.scfg=wifi_wpa_psk_text,12345678<CR>

    at+s.scfg=wifi_priv_mode,2<CR>

    at+s.scfg=wifi_mode,1<CR>

    at+s.scfg=wifi_ht_mode,1<CR>

    at+s.scfg=wifi_opr_rate_mask,3FFFCF<CR>

    at&w<CR>

    at+s.wifi=1<CR>

    17-Nov-16 15:58:22 [RX] - at+s.wifi=0<CR><LF>

    <CR><LF>

    OK<CR><LF>

    at+s.ssidtxt=iPhone<CR><LF>

    <CR><LF>

    OK<CR><LF>

    at+s.scfg=wifi_wpa_psk_text,12345678<CR><LF>

    <CR><LF>

    OK<CR><LF>

    at+s.scfg=wifi_priv_mode,2<CR><LF>

    <CR><LF>

    OK<CR><LF>

    at+s.scfg=wifi_mode,1<CR><LF>

    <CR><LF>

    OK<CR><LF>

    at+s.scfg=wifi_ht_mode,1<CR><LF>

    <CR><LF>

    OK<CR><LF>

    at+s.scfg=wifi_opr_rate_mask,3FFFCF<CR><LF>

    <CR><LF>

    OK<CR><LF>

    at&w<CR><LF>

    <CR><LF>

    OK<CR><LF>

    at+s.wifi=1<CR><LF>

    <CR><LF>

    OK<CR><LF>

    <CR><LF>

    +WIND:49:WPA:Terminated: 0<CR><LF>

    <CR><LF>

    +WIND:38:WiFi:Powered Down<CR><LF>

    <CR><LF>

    +WIND:46:WPA: Crunching PSK...<CR><LF>

    <CR><LF>

    +WIND:32:WiFi Hardware Started<CR><LF>

    <CR><LF>

    +WIND:21:WiFi Scanning<CR><LF>

    <CR><LF>

    +WIND:35:WiFi Scan Complete (0x0)<CR><LF>

    <CR><LF>

    +WIND:19:WiFi Join:3E:5C:F2:xx:xx:xx<CR><LF>

    <CR><LF>

    +WIND:25:WiFi Association with 'iPhone' successful<CR><LF>

    <CR><LF>

    +WIND:51:WPA Handshake Complete<CR><LF>

    <CR><LF>

    +WIND:24:WiFi Up:172.20.10.2<CR><LF>

    BR

    j

    pouya
    pouyaAuthor
    Associate II
    November 18, 2016
    Posted on November 18, 2016 at 08:32

    Hmmmm........This is interesting,

    I'm doing exactly the same thing... 

    for sure there is something in my code then.

    Thanks alot. 

    pouya
    pouyaAuthor
    Associate II
    November 18, 2016
    Posted on November 18, 2016 at 14:29

    Yap.... it was something small in my code...

    Thanks again.