[iOS] 샘플프로그램 PuriCare Mask 제품 펌웨어 업그레이드 실패

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
김삼현
Level 1
Level 1
First reply posted First question asked Welcome!

Cypress_FOTA_release-v3.1.0 or btsdk-peer-apps-ota-master OtaUpgrade 프로젝트 진행

Cypress PuriCare Mask기기 제품 등록중 file load성공후 Upgrade 버튼 클릭시 "Invalid WICED OFU services" 메세지 발생

Screen Shot 2022-02-24 at 4.29.01 PM.png

otaService, otaControlPoint, otaControlData 모두 nil

var isWicedOfuSeviceValid: Bool {
    return otaService != nil && otaControlPoint != nil && otaControlData != nil
}

if !activePeripheral!.isWicedOfuSeviceValid {
    self.appendLog("Invalid WICED OFU services")
    return
}

해당 값들이 세팅안된 이유를 살펴 보다 보니
peripheral.services 빈배열로 되어있어서 더이상 진행이 안되고 있습니다.

M1.png

AOS 샘플앱에서는 Cypress 펌웨어 업데이트 성공된 제품입니다.

안되는 이유가 있을까요?

수정된 버전을 받고 싶습니다. 

0 Likes
5 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

hello @김삼현 

Sorry we couldn't able to understand your issue properly. 

Can you please clarify? Are you facing issue with our OTA peer app ? Can you list down the steps to reproduce the issue? 

Please also mention the chip & BTSDK version you are using?

regards,

Anjana

0 Likes

https://github.com/Infineon/btsdk-peer-apps-ota 1.0.3버전입니다.

리스트 화면에서 peripheral 선택하고 다음화면에서

bluetoothPeripheralManager!.connect(activePeripheral!) 실행합니다.

didDiscoverServices 아래와 같이 services를 찾지 못하는것 같습니다.

 

func peripheral(_ peripheral: CBPeripheral, didDiscoverServices error: Error?)

...
print("Services: \(peripheral.services!)")
if (peripheral.services?.count == 0) {
return
}

Log
Discovering services ...
Services: []

0 Likes

https://github.com/Infineon/btsdk-peer-apps-ota   3.0.20467 팩토리 쪽에 있습니다.

Cypress chip 입니다.

XCODE Version 12.5.1
iOS 14.4

목록 화면에서 제품 주변기기 선택하면 바로 이동

 

업로드 화면에서

bluetoothPeripheralManager!.connect(activePeripheral!) peripheral connect 진행중 services 목록을 받아 오지 못하고 있습니다.

 

func peripheral(_ peripheral: CBPeripheral, didDiscoverServices error: Error?)

...
print("Services: \(peripheral.services!)")
if (peripheral.services?.count == 0) {
return
}

Log
Discovering services ...
Services: []

0 Likes
LiLe_3234306
Level 3
Level 3
25 replies posted First comment on KBA 50 sign-ins

Hi AnjanaM_61,

This is Liam and he("김상현") is one of our customer. Since I have no experience in iOS Apps, asked to open the issue on this community.

Let me check it again with customer and then update.

Thanks,

Liam

0 Likes
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi Liam,

Can you please check with customer and let us know the status? 

Regards,

Anjana

0 Likes