I think normally you don’t need to change these codes as the device was configured for OTAA. The configuration is stored in the RN2483 itself and doesn’t need to be set by the code (provisioning devices from code is not really scalable :-)). If you want to change to ABP activation you can change the settings of your device in the console to ABP, then copy these ABP setings to the code you mentioned and set the appeui to all zero’s (and the appkey to any value) using a command like:
setappeui:00000000000000000123456789012345678901234567890123456789012
during the time that the device is in commissioning state (blinking blue led near the push button for first 10 seconds on USB power, don’t forget to remove the battery first). Having the device with ABP configuration might give better results when coverage isn’t optimal The previous construct is no longer supported in the latest code.