Wifi established = led blink

Hi brcisna,

The screenshot you provided seems to be the booting message, can you provide the full screenshot?
Also is your enter Command in the Repeater module or other module?

This screenshot only knows the connection. The information is still not enough. Is there a description or a flow chart to me for analysis?

Hi Alphi

I will attach screenshots of what the sequence should look like after I upload code to rtlduino
Was hoping i could attach a simple screen recording you could see better but cannot attach mp4 file.

  1. ATWS = scan network
  2. ATW0 = SSID to connect to
  3. ATW1= set password
  4. ATWC = connect to desired AP/SSID

If you look at these for the example_wlan_repeater, post upload, you have to add the target SSID AP to connect to, the target AP password, then ATWC command to actually connect for the first time .
With the code you provided here (with the LED lights) , when the rtlduino boots up,the cursor locks up at the point i should be able to input these AT command (the # character) ,hence I cannot do the AT commands.
[Adding: the sequence below is with the original 'example_wlan_repeater.c file.]

1rtlduino
2rtlduino
3rtlduino


5rtlduino
6rtlduino

Hope this makes sense too you.
For some reason the rtlduino locks up.

Hi brcina,
I modified the LED blinking time from 1 second to 100ms If it is according to your description, it should return to normal after 1 second

static void example_wifi_status_thread(void *param)
{
	uint8_t led = 0;
	uint8_t i;
	for(i=0;i<10;i++) {
		gpio_write(&gpio_wlan_act, led);
		led^=1;
		vTaskDelay(1 * configTICK_RATE_HZ);

	}
	vTaskDelete(NULL);}

change to

static void example_wifi_status_thread(void *param)
{
	uint8_t led = 0;
	uint8_t i;
	for(i=0;i<8;i++) {
		gpio_write(&gpio_wlan_act, led);
		led^=1;
		vTaskDelay(100); //delay 100ms

	}
	vTaskDelete(NULL);}
輸入或貼上代碼

Hi Alphi,

I changed the code as you suggested. The rtlduino still locks up as it boots up.
When you have time, could you please watch this screen recording , 20 seconds , as the rtlduino boots up,looking at serial terminal. You will see after it gets to "Fast Connect ____ " , the cursor lower left, square white cursor locks up at this point.
After this you can not do AT commands of course.
This may give you a better understanding of what is happening at bootup.

Here is the link on Google Drive for screen recording.

https://drive.google.com/file/d/1pDS6ZlqrZaYONjPjbo02X02yQAPDJ_Cb/view?usp=sharing

Sorry for causing you so much work.

Thank You

Hi [Alphi_Jiang]

If you ever have any spare time avaliable could you look at this again? With the code provided the rtlduino does lock up at the point were i should be able to input AT commands to the rtlduiino. Am still trying to get the builtin led to blink once the repeater is connected to the target AP ( on the drone).
I may not be explainging how the rtlduino is locking up,well enough?

Thank You