When switched to OTAA-SF,CH not func as programmed

Hi Everyone,
I have a little problem after changing to OTAA. Please someone tell why

  • Node- Heltec wireless shell+LMIC library+OTAA method

  • GW- Heltec mini gateway
    
            LMIC_setLinkCheckMode(0);
    
            // Set data rate and transmit power for uplink
            LMIC_setDrTxpow(DR_SF10,20);
    
        // Start job (sending automatically starts OTAA too)
        do_send(&sendjob);
    
  1. I have set the SF to (7,8,9,10), but the node transmit only at SF12(when seen in console).

     #if defined(CFG_in866)
                      LMIC_enableChannel(0);
                      LMIC_disableChannel(1);
                      LMIC_disableChannel(2);
                   #endif
    

2. I have enabled only one channel,but messages are sent at every 3 default channels.

Rest of the other are working good.
Thanks
Ajay

Actually I figured it out. In OTAA, uplink and downlink channels and spreading factor are decided by the network server and LMIC library are made according to it.