ESP32: BLUETOOTH LOW ENERGY. Within the app, tap on the “SCAN” button. Now the callback will be invoked when a BLE peripheral performs an advertisement. However, it seems that the function "foundDevices. h>. Used for research in COVID-19 contact tracing. Nov 18, 2021 · After creating a BLE server using ESP32, we can use a BLE application available on the Play store for testing purposes. It also seperately reports the ServiceUUID and ServiceDataUUIDs with their full UUIDs and Data. Open the app and search for nearby devices. See the project on github. Look for “MyESP32”, and click the “Connect” button next to that. How can I do that? Jun 3, 2019 · I think this is not a problem of ESP32, but bluetooth. scanForName() Start scanning for Bluetooth® Low Energy devices that are advertising with a particular (local) name. Now just need to realize, if it's possible to don't stop scan while sending commands to lock. Fortunately this list is pretty simple! Android device with Bluetooth 4. from bleak import BleakScanner. (opens new window) ESP32 MicroPython Project to scan for nearby Bluetooth Low Energy Devices to determine the room utilization. A list of available devices with their respective signal strengths and other details will appear. Mar 7, 2017 · I now have the ESP32 running and it's sampling RSSI values of nearby BLE advertising nodes successfully. 5. After being initialized, the BLE role cannot be changed. When I scann in my esp32, it shows a lot of devices that my phone doesn't show. There is many factors that impacts how fast you discover devices. - I lowered the CPU frequency to 80MHz. ESP32 Vcc pin -> 10k Ohm resistor -> ESP32 EN pin. Después de la instalación, abra la aplicación (si ESP32 Bluetooth ya está emparejado antes Feb 19, 2022 · Using the nRF Connect Android App for ESP32 iBeacon. * task creation (analyse_data) to analyse the beacons seen, does not matter for this post. Mar 7, 2017 · Step by step guide detailing how to obtain the RSSI and MAC address. It uses ESP32's Bluetooth controller and NimBLE stack based BLE host. #include <BLEServer. Readme Activity. NimBLE is an open source BLE stack fully compliant with the Bluetooth specification providing both host and controller functionalities. I got it working to scan nearby devices and getting rssi from those devices. I'm unsure about why this is, but I assume it's a hardware limitation . Oct 10, 2018 · Its not dumb question, about 2 years ago when i started with esp32 i didnt know what is button debouncing. The code provided by f. Posts: 16. Although later SDK helped a bit, expect more lag on the web interface and on MQTT. Beacons are BLE devices that repeatedly just send out a pre-defined packet of data. We send sensor readings from one ESP32 board to another via BLE server and client. Networking, Protocols, and Devices. So for the BLE scanning I've set a window to allow the esp32 to scan for proximity beacon, here is the relevant part: * BLE scan parameters. ESP32-BLE2MQTT. This should cause a GATT Server event to be raised on the BLE Central of type ESP_GATTS_READ_EVT. Nov 28, 2017 · nkolban commented on Nov 29, 2017. The ESP32 is capable of acting as a BLE device or host. Well. The app will commence scanning for nearby BLE devices. async def main(): target_name = "ESP32BLE". Create a BLE Characteristic on the Service 4. ino Arduino sketch, and flash it to ESP32 board. Bluetooth Low Energy (BLE) is everywhere these days. Both ESP32 BLE and Bluetooth Classic can be used for connectivity applications but we’ll be focusing in this tutorial on ESP32 Bluetooth Classic. In this example rxValue is the data received (only accessible inside that function). I figured out how to make it scan by using one of the examples that are provided by "Espressif" called "ibeacon_demo. This example aims at understanding BLE service discovery, connection and characteristic operations. I am working ESP-idf to program my ESP32 board. Postby kolban » Tue Jul 25, 2017 1:17 pm. May 27, 2021 at 8:03. 1, users can refer here for the certification details of ESP-BLE-MESH. The client will often be an app on a phone, or in the case of ESPHome, it ArduinoでESP32を扱うとき、WiFiとBLE両方を有効にすると、以下のようにROMサイズが足りないというエラーが表示されることがあります。 最大1310720バイトのフラッシュメモリのうち、スケッチが1375982バイト(104%)を使っています。 Jun 20, 2017 · On the BLE Peripheral you would invoke esp_ble_gattc_read_char to ask to read a characteristic as a client. This is the code that I ESP-BLE-MESH is implemented and certified based on the latest Mesh Profile v1. Jun 26, 2022 · This video just show how MicroPython bluetooth module examples run on ESP32-C3. Public Mac addresses are compared against OUI list, while Vendor names are compared against BLE Device list. 24 seconds*/ uint16_t scan_window; /*!< Scan window. I am using it to detect my phone and trigger automations based on my presence. Nov 20, 2021 · 1. ) The Arduino IDE provides an excellent library package manager where versions of libraries can be downloaded and installed. Jan 23, 2019 · Grab another ESP32 (while the other is running the BLE server sketch). Post by newsettler_AI » Tue Jun 20, 2017 3:19 pm . Note If you are looking for Wi-Fi based implementation of mesh for ESP32, please check another product by Espressif called ESP-WIFI-MESH. based the ble hardware mac. In our assembly, we have the temperature sensor, the buzzer, and the ESP32. The BLE scan example shows you how this is done. I now have the ESP32 running and it's sampling RSSI values of nearby BLE advertising nodes successfully. Step 3: In Visuino Set Bluetooth LE. Today I want to welcome you all to my first project for Home Assistant. Jonas A. 4 GHz band. All you need on your phone is the home assistant app BLECollector is just a passive BLE scanner with a fancy UI. 0 and managing Wi-Fi, Azure, etc but now I need to add also BLE (Bluedroid) so my devices can work as clients connecting to one or several servers and consuming notifications from custom charactetistics. Range: 0x0004 to 0x4000 Default: 0x0010 (10 ms) Time = N * 0. 27 mm. at+blescanparam=1,0,0,100,99. MAC or Device name. Note that using any other ESP-IDF version might not be stable or even compile. Pairing (and bonding) is supported on some ports. NimBLE is also part of the Apache MyNewt project. at+blescan=1. The former is passive, and is what you normally see when scanning. Depending on your use case you could advertise only every 10 seconds or even less. It's developed for the ESP32 SoC and is based on ESP-IDF release v5. 5 msec to 10. BLE uses the concept of a server and a client. I am using ESP-IDF 4. - nkolban/ESP32_BLE_Arduino Create a BLE Server 2. 9 watching Forks. ESP32 BLE for Arduino (This repository is kept for archive. Feb 19, 2024 · To communicate with the BLE device, it is important to know the uiids of the various services. A device can optionally choose to advertise its device name. ino Arduino sketch in Arduino IDE. kishan patel. Those two database files are provided in a db format (mac-oui-light. The code works and on the serial monitor I see at least two distinct BLE-devices (see below snippet of serial monitor). The ESP32 BLE Client will scan nearby devices until it finds a specific device (a BLE Server), the ESP32 BLE Client will then connect to the BLE Server, and finally the ESP32 BLE Client will retrieve some data from the BLE Server. . Compile ESP32_BLE_Scanner. Aug 4, 2023 · Location time varies – sometimes it’s quick (depending on the BLE scan window) and also when the automation runs. Atendendo aos pedidos de vários seguidores que já sabiam como mexer no Bluetooth com Arduino através de pequenos módulos, hoje vamos falar do Bluetooth Low Energy (BLE) do ESP32, o mais recomendado para a Internet das Coisas. Re: esp32 ble scan. I have tryed some ways but all times return errors Someone could help me for fixing it? This is the code: Jun 20, 2021 · Hi there! I'm using the example "BLE_scan" for ESP32 BLE Arduino on my Sparkfun Thing Plus. Is there some code or library that would allow me to scan for nearby Bluetooth devices using a common ESP32 board ? I only found similar code for actual Arduino boards. This packet can then be received by devices like smartphones and can then be used to track a phone’s location. A call to esp_ble_gap_start_scanning () to initiate scanning. Start the service. For users to make a choice: For usecases involving classic Bluetooth as well as Bluetooth Cargue el siguiente código en la placa ESP32, a la que llamaremos Servidor ESP32 BLE y abra el monitor serie en Arduino IDE. In the first case, you have to declare a Aug 10, 2018 · Fernando K 10 agosto. Application Example; API Reference Apr 8, 2021 · Hi, I have quite a complex application already running on a custom board based on ESP32-WROOM-32D. 1. Joined: Tue Mar 09, 2021 11:14 am. seo:: :description: Instructions for setting up BLE text sensors for the ESP32. 1. 14 Jun 1, 2022 · Under such circumstances, ESP32 uses the time-division multiplexing method to receive and transmit packets. e. Bluetooth® API. h. In your Arduino IDE, go to File > Examples > ESP32 BLE Arduino and select the BLE_scan example. So, let’s dive into what the ESP32 BLE Beacon Scanner technology is all about! The library source for the ESP32 BLE support for Arduino. The screen looks like below. The data we need to see in the advertisements is in the scan-response and not in the initial advertisement packet. Within the web app, you’ll be able to control the ESP32 GPIOs and retrieve values sent by the ESP32 The ESP32 chip is equipped with Bluetooth Classic, Bluetooth Low Energy (BLE), and Wi-Fi. Download the nRF Connect app from Google Play Store and Open it. The Useful options for this project will be ‘Scan’, ‘Scanner’ and ‘Info’ when devices gets found. 3: 5702: October 19, 2021 Tips on combining two scripts. SERVICE_UUID= "4fafc201-1fb5-459e-8fcc-c5c9c331914b". 2. - I mess a little with scan_interval (0x500), scan_window (0x300), - I used light sleep by calling power management API (it doesn't seem to have a big impact on BLE scanning) My platform is ESP32-WROOM-32D. BLEUtils – The BLEUtils library provides utility functions for working with BLE on the ESP32. To test this demo, use any BLE GATT server app that advertises support for the Alert Notification service (0x1811) and includes it in the GATT database. c" the thing is I don't know how to extract the address of any searched device and have it as string Create a BLE Server 2. And txValue is the data to be sent, in this example just a byte incremented Mar 12, 2024 · Ensure that your phone’s Bluetooth functionality is activated. Sep 19, 2022 · We want to use the ESP32 as BLE central. 83 stars Watchers. After flashing, ESP32 scans for BLE devices during SCAN_TIME and behaves as listed in Detailed description. com/2022/06/micropython-bluetooth-ble-exampls Oct 10, 2018 · All I want to do is give the ESP32 a bunch of BLE mac address' and if they are found within a 10/20/30 second scan to turn on the corresponding green LED for that mac address and if not then turn on the red LED. The esp32_ble_beacon component creates a Bluetooth Low Energy Beacon with your ESP32 device. We define the UUIDs as those defined in the ESP32 code. Demonstration with BLE scanner app: Go to the play store. The ESP32 C3 only has one core so the BLE Scanner is run in a separate thread running with the same priority as the loop() thread so neither has priority over the other. Jan 16, 2020 · 51 5. Contribute to espressif/arduino-esp32 development by creating an account on GitHub. Posts: 45. Be aware, enabling of the native BLE on ESP32 has an impact on Wi-Fi performance. These modes are similar to the ones used to configure advertising packets you learned in previous articles (struct and raw mode). 2 which means it doesn’t support Bluetooth 5. All BLE data found by the BLE Scanner is collected into a sqlite3 format on the SD Card. Create a BLE Service 3. getCount()" which is executed after each scan always returns 0 devices? Am I missing something? Is this a bug? Best regards, Baelor # If you want to use the advertised name you have to scan for all BLE devices around you and select the one matching your name. The latter is active and requires you to connect to the device and make a request. It reports the state of known BLE Beacon devices over MQTT to Home Assistant. However, one slight problem as highlighted by f. See :ref:`Setting up devices <esp32_ble_tracker-setting_up_devices>` for information on how you can determine the MAC address of a device and track it using ESPHome. #include <BLEDevice. For each Bluetooth device found, the following information is displayed on screen: RSSI. pyとスキャンするプログラムble_scanner. I made code where I'm doing these 2 parts separately but then I try to merge them it doesn't work. And txValue is the data to be sent, in this example just a byte incremented Jan 1, 2018 · You can filter/scan/connect to particular devices based on: 1. Fortunately, Vcc and EN pin is nearby, it can direct soldering resistor between both pin without wire. Sep 30, 2018 · Hello, I´m testing my new ESP32 dev board. This project is a BLE to MQTT bridge, i. The ESP32 shares its antenna between wifi and Bluetooth. Currently this supports Bluetooth Low Energy (BLE) in Central, Peripheral, Broadcaster, and Observer roles, as well as GATT Server and Client and L2CAP connection-oriented-channels. s has aided my understanding of how this process works and furthermore, I installed the Espressif SDK as mentioned by rene007. If you are truly a beginner, then the above may not make overly much sense. 2. It includes functions for converting data types, managing UUIDs, and Nov 20, 2022 · I have 2 esp32, one setup like ble notify mode and the other like client, the esp32 on notify mode, read 2 ADC and 1 digital input and advertise them on 3 characteristic with different UUID, This code runs apparently good because when I used the nrf connect app, It detect the esp32 ble, I can connect with it and see the service, the 3 ESP32 code to advertise as BLE iBeacon, or scan for iBeacon advertisements and reports them using MQTT. In the app, tap on the “SCAN” button. We called the ESP32 and BLE scanner, which will locate our microcontroller. Mar 10, 2024 · The esp32-nimble crate is a wrapper for the ESP32 NimBLE Bluetooth stack. This will connect a smartphone application to send and receive data. s, the values are very fluctuant, even when the advertising node is very close to the ESP32. You don’t need to understand exactly what they do in order to make an iBeacon but they are important if we want to make the code work on the ESP32. See the :ref:`BLE Tracker Configuration variables <config-esp32_ble_tracker>` for instructions for setting up scan parameters. In conclusion, we have learned how to perform communication between ESP32 BLE server and ESP32 BLE client using Arduino IDE. Could it be that its not possible to scan for a BLE advertisement while Bluetooth® Low Energy (Bluetooth LE) Bluetooth Low Energy. This function can be exited by touching the screen. You can check what the scanner does using Arduino terminal. Arduino core for the ESP32. En el teléfono inteligente, vaya a Play Store e instale la aplicación ‘BLE Scanner’ de Bluepixel Technologies. The Bluedroid based stack (default) supports classic Bluetooth as well as Bluetooth Low Energy (Bluetooth LE). This API is intended to match the low-level Bluetooth Mar 9, 2021 · Re: Simultaneous BLE Scanning/Advertising. It also has to respond to a "get device name" request. On the other hand, Apache NimBLE based stack is Bluetooth Low Energy only. The esp framework offers two modes for configuring the content of a scan response packet: using the esp_ble_adv_data_t struct or creating a byte array ( raw mode ). 前回も軽く言ったと思いますが、BLEを長時間使うと、ブロードキャスターであれオブザーバーであれ、ESP32に膨大な負荷がかかってしまい Oct 29, 2019 · 2. :image: bluetooth. from bleak import BleakClient. Locate “MyESP32” and click the “Connect” button adjacent to it. If you do a scan with your phone, its the same. The app will start scanning for nearby BLE devices. Search for the BLE scanner and download the app. f. Between 15s and 30s is usually the sync time; There are other “Presence” projects already on the ESP32 market. 34 forks Report repository Releases No releases published. Or you should ask for it to the device. The ability of a Bluetooth receiver depends on two primary things: - the receiver's antenna (bigger is better, but the antenna has to be the correct kind for the frequency Bluetooth uses, you can just use a long piece of wire) and the amount of power the transmitter is using. When called, it returns the RSSI value associated the partner. to spice up the project! May 25, 2021 · BLE can be very power efficient if you regulate the advertising interval. So first part is done. We’ll explain what Web Bluetooth is and walk you through creating a web application for interacting with an ESP32 Bluetooth Low Energy (BLE) device. If you fire up a scanner on your phone and walk around the neighborhood, we’d be willing to bet you’d pick up dozens if not Feb 27, 2021 · I have tried a few things, but they are not enough: - I changed scan_type to BLE_SCAN_TYPE_PASSIVE. scanforname ArduinoBLE - BLE. Before using BLE AT commands, this command has to be called first to trigger the initialization process. Hi, My goal is to send and read data via BLE from one esp32 module to another esp32 module. Open the ESP32_BLE_Scanner. Also contains a Webinterface that features: MQTT Client Integration to receive data from ESP32 MicroController; InfluxDB Integration to write data to database; Responsive Nivo Charts Implementation to visualize data BLE Beacons and BLE Beacon Scanners are awesome technologies that unlock a whole new area of possibilities for the inexpensive and low power aspects of the ESP32! Combining Beacons and an ESP32 device with the Arduino IDE only makes these possibilities more exciting. Short answer, YES, it is possible, just make sure you dont setup very short interval and window for scan and very short advertising interval. The crate is inspired by the NimBLE-Arduino project. [中文] ESP-IDF currently supports two host stacks. Setup: ESP32-WROOM-32 esp32-idf4-20210202-v1. Maybe if you increase the scann time, the micro can ask every device for it's name. 0. Once the code is uploaded and you should have the two ESP32 boards powered on: One ESP32 with the “BLE_server” sketch; Other with ESP32 “BLE_scan” sketch. it exposes BLE GATT characteristics as MQTT topics for bidirectional communication. A device may operate in multiple roles concurrently. Conclusion. So, we perform these setups and watch for BLESCAN messages: at+bleinit=1. This slows down detection on your esp32 (which should be scanning continuously) but saves power on your mobile device. ¶. The BLE standard allows wireless communication in the 2. - cvonk/BLEscan A ESP32 Arduino BLE Scanner Resources. Jun 12, 2021 · Hello everyone. The esp32_ble_tracker component creates a global hub so that you can track bluetooth low energy devices using your ESP32 node. Joined: Wed Aug 30, 2017 4:56 am. Create a BLE Descriptor on the characteristic 5. ESP32-BLE-Scanner. This blog will show you how to add a twis Jan 13, 2024 · BLE to MQTT gateway, tens of Bluetooth devices (opens new window) supported thanks to Theengs Decoder library. Mar 23, 2021 · March 23, 2021. The difference here is that this an ESPHome based project, and ESPresence is its own firmware Jul 23, 2021 · To be able to use both Wifi and BLE (same phy is used) I set ble window and interval parameters to share the phy. Apr 3, 2018 · esp32. It is the most difficult soldering work in this project, the pin width in ESP32 board is only 1. now this question is answer #4 in a web search and 2 of the answers above are for BLE only and the other one leads to another unanswered question. Warning. After installing the app turn on the Bluetooth. 0 or higher (most smartphones) ESP32 development board (note that there are many versions that would also work just fine) Micro USB to program the ESP32 dev board. the ble services they are running (uuid filter) 2. A simple BLE scanner that reports output similar to the raw packet format in Nordic's excellent nRF Connect Android App. When you are connected to a BLE Server with the ESP32 acting as a BLEClient, there is a method on BLEClient called getRssi (). Jan 1, 2024 · This tutorial will allow you to discover Bluetooth® Low Energy (BLE) technology through examples based on an Arduino Nano ESP32. Click on the Operations 3 Dots. The ‘Scan’ option will be used to see all the available iBeacons. Optional: sensors, LED's, etc. A list of available devices, along with their signal strengths and other details, will populate. This was achieved by using two ESP32 boards one that acted as a server and the other that acted as the client using Bluetooth. Bluetooth Low Energy GAP. Oct 29, 2020 · ESP32 BLE scan, example works but devices found is always 0. 625 msec. Time Range: 2. This ESP32 microcontroller-based card is indeed very well suited to the development of connected objects using Bluetooth ® or Wifi technologies. May 7, 2021 · Info. The problem is I only need to get rssi from a known device, and using the BLE_scan example I get the rssi from all of the devices that are scanned. py. . In simple terms, the server is implemented on the device providing services, usually these are the devices such as heart monitors, tags, weather stations, etc. import asyncio. Close the Operations window. Q&A Forum › ESP32 BLE Scanning by Mac address. Bluetooth has two ways of dealing with device names. As such, it can passively scan for surrounding BLE devices. If using ESP32 as a BLE server, a service bin should be downloaded into Flash. The code scans for a scanTime of 5 seconds, waits 2 seconds and starts scanning again: ESP32 BLE Scanning by Mac address. Let us therefore find out more about the BLE and create a program for ESP32 to become a Bluetooth server. Start advertising. pyを分けて説明していきます。 ble_stop. 3. Postby chegewara » Fri Sep 24, 2021 9:53 pm. Jun 20, 2017 · BLE scanner. This project is basicly a room presence detector for ESP32 devices. blogspot. ” and that it is better to run the BLE and WiFi on separate cores. db and ble-oui. There is little I can offer in an issue Feb 21, 2021 · Summary: Micropython Bluetooth BLE scan() does not return the complete advertisement payload, specifically missing "Complete Local Name". Johan Romuald asked 2 years ago. The duration of the LE scan. Nov 16, 2023 · This guide provides a beginner-friendly introduction to using Web Bluetooth with the ESP32. I'm way over my head here but a thought strikes me it was my understanding that three channels in the BLE radio spectrum were dedicated to advertising and that the BLE protocol says that all three are used by every advertiser meaning that an advertiser will advertise on Dec 29, 2016 · A call to esp_ble_gap_set_scan_params () to set the scan parameters. Step 6: Soldering Pull Up Resistor. BLE can be enabled from the web UI menus. Mar 25, 2022 · I'm working on a project where I have 3 esp32s in a mesh network that each scans for a 4th to 5th esp32 that inst in the mesh network to get the RSSI of the BLE advertisement. I don't really know what to do since I am new to ESP and programming. Dec 29, 2016 · A call to esp_ble_gap_set_scan_params () to set the scan parameters. In the Operations window drag "Search Bluetooth Devices" to the left side and in the properties window set "Active" to true. Hi, I want to scan by mac address for specific device and when found get the manufacture data. Aquele módulo do Arduino TX RX funciona como serial, já o que BLECollector is just a passive BLE scanner with a fancy UI. Apr 5, 2017 · This is defined as the time interval from. svg :keywords: ESP32 The ble_scanner text sensor platform lets you track reachable BLE devices. Jun 20, 2017 · On the BLE Peripheral you would invoke esp_ble_gattc_read_char to ask to read a characteristic as a client. https://embedded-things. BLE code is now included in Arduino directly. Feb 19, 2021 · 今回はBLEをオフにするプログラムble_stop. Again on the BLE Central, on receipt of the ESP_GATTS_READ_EVT, you should invoke the esp_ble_gatts_send_response(). The client connects to the server and makes use of its services. First we need to include the libraries that handle communication to the BLE module and server generation. It lets you scan for and connect to BLE peripherals, read and write characteristics, and handle notifications. In the received data structure, one of the available fields is "rssi" which is the signal strength received. ESP32 Bluetooth Low Energy Beacon. My Goal is to make it scan for a specific BLE (Bluetooth Low Energy) Device. Like ESPresence. Sep 11, 2022 · It pushed me to search, how to make devices appear again after first message processed (I thought it's only possible on first scan, but apparently not). Apr 18, 2019 · As Easter inches near, we decided to go with a casual blog as compared to our regular more component-centric blogs. May 23, 2022 · Greetings, I am working on a BLE scanner using ESP32 using this library. The plug uses an ESP32 acting as a BLE to Wifi gateway to scan, decode and forward the data of the nearby sensors, Smart plug that can be controlled remotely, Energy consumption monitoring, Presence detection (beta). 6. BLE Beacon (iBeacon protocol) Scanner for ESP32 - 'esp-idf '--- Based in 'esp-idf' example - Gustbel/ble-beacons-scanner_esp-idf Mar 7, 2017 · I now have the ESP32 running and it's sampling RSSI values of nearby BLE advertising nodes successfully. – Michael Kotzjan. I´m trying of to modify BLE Scan example This sketch return a list of devices avaibles I would like launch a action (pinout) if ESP32 detect a concret Device. I only need the scan to run once as the button on the ESP32 will be used to do a scan when required. This type of communication is often referred to as point to point communication. Select TTGO T-Display ESP32 board and in the properties window expand "Modules>Bluetooth LE>Operations. when the Controller started its last LE scan until it begins the subsequent LE scan. 0 currently. 0 Vote Up Vote Down. Reference > Libraries > Arduinoble > Ble. User needs to call AT+RST to restart the system first, then re-init the BLE role. The ESP32 hardware supports up to BLE v4. May 26, 2024 · BLEClient – This library lets you create a BLE client on the ESP32. db). I don't need to restart scan to get new advertisement from same beacon. Stars. The user will be sent back to the menu. Installation and Running. 4. If only controlling BLE devices, then scanning can be disabled, which will minimize Wi-Fi impact. Using the TASMOTA #ESP32 Berry Scripting to gather Bluetooth data from various sensors with the #Blerry project - UPDATE below!⚡UPDATE of Blerry Supports eve Step 1: Gather Parts. target_address = None. pm ln sd ro zh fv uc tv lj pe