My gut says the attack on our embassy was to fire up and unite the Iranians revolting against Khomeni against the United States. It worked for the Khomeni loyalists...but the people want something different now. They do NOT want to be at war forever.
My gut tells me that attack was a probe of our defenses and reaction, which is why Soleimani flew into Baghdad to meet the experienced embassy bomber al- Muhandis and the IRGC intelligence chief to plan the next stage