Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

버그 수정 #8

Open
norangLemon opened this issue Dec 21, 2017 · 0 comments
Open

버그 수정 #8

norangLemon opened this issue Dec 21, 2017 · 0 comments

Comments

@norangLemon
Copy link
Member

norangLemon commented Dec 21, 2017

static void OnSxNextBeaconTimerEvent( void )
{
    TimerStop( &SxNextBeaconTimer );
    MibRequestConfirm_t mibReq;
    LoRaMacStatus_t status;

    mibReq.Type = MIB_NETWORK_JOINED;
    status = LoRaMacMibGetRequestConfirm( &mibReq );

    if( status == LORAMAC_STATUS_OK )
    {
        if( mibReq.Param.IsNetworkJoined == true )
        {
            DeviceState = DEVICE_STATE_BEACON;
            NextTx = true;
        }
        else
        {
            DeviceState = DEVICE_STATE_JOIN;
        }
    }
}

  • Sx아니라 Rx로 수정
  • DEVICE_STATE_BEACON Core/lora.h에 정의 안 함
@norangLemon norangLemon mentioned this issue Dec 22, 2017
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant